skills/cookbook-suggestion/SKILL.md
Suggest new content or improvements for the agentic cookbook. Guides the user through the idea, then creates a GitHub issue. Triggers on 'suggest', 'cookbook suggestion', 'request a recipe', 'cookbook idea', or /cookbook-suggestion.
npx skillsauth add agentic-cookbook/tools cookbook-suggestionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
First action: If $ARGUMENTS is --version, print cookbook-suggestion v1.0.0 and stop.
Otherwise, print cookbook-suggestion v1.0.0 as the first line of output, then proceed.
Version check: Read ${CLAUDE_SKILL_DIR}/SKILL.md from disk and extract the version: field from frontmatter. If it differs from this skill's version (1.0.0), print:
⚠ This skill is running v1.0.0 but vA.B.C is installed. Restart the session to use the latest version.
Continue running — do not stop.
Walks the user through suggesting new content or improvements for the agentic cookbook. Collects structured information about the idea, previews the issue, and submits it to GitHub via gh issue create.
/cookbook-suggestion
/cookbook-suggestion add a recipe for dark mode toggle
Before doing anything else:
Check gh CLI. Run which gh. If the command fails or returns empty, stop with:
ghis not installed. Install it from https://cli.github.com/ then rungh auth login.
Check gh authentication. Run gh auth status. If it reports not logged in, stop with:
ghis installed but not authenticated. Rungh auth loginfirst.
Detect cookbook repo. Check in order:
introduction/conventions.md exists in the current directory, the current directory is the cookbook. Set $COOKBOOK_REPO to ..../agentic-cookbook/introduction/conventions.md exists, set $COOKBOOK_REPO to ../agentic-cookbook.introduction/conventions.md here or ../agentic-cookbook/."Detect GitHub repo identifier. Run git -C $COOKBOOK_REPO remote get-url origin and extract the owner/repo slug (strip .git suffix and any https:// or git@ prefix). Store as $GH_REPO.
Collect the following. If $ARGUMENTS (beyond flags) is non-empty, use it as the initial description and skip prompt 1c.
Ask the user (use AskUserQuestion):
What kind of suggestion is this?
1. New recipe — a component, panel, window, or infrastructure pattern
2. New guideline — a topic area not currently covered
3. New principle — a foundational engineering principle
4. Enhance existing — improve or expand something already in the cookbook
5. Tooling — skills, rules, validation, or workflow improvement
6. Other
Based on the type selected:
$COOKBOOK_REPO/ for matching files and confirm with the user. If no match, note the user's description and move on.If not already provided via $ARGUMENTS, ask: "Describe your suggestion — what should it do or cover, and why is it useful?"
Ask:
How important is this to you?
1. Nice to have — would be useful but not blocking anything
2. Important — would meaningfully improve cookbook coverage
3. Critical — a significant gap that affects real work
Search existing issues to avoid duplicates:
gh issue list --repo $GH_REPO --state open --search "<key terms from description>" --limit 5
If matches are found, show them to the user:
These open issues look related:
#12 — Add dark mode recipe
#34 — Request: toggle component patterns
Is your suggestion already covered? (new / duplicate / related)
If no matches found, proceed to Step 3.
Build the issue title and body, then show the preview to the user.
Title format: Suggestion: <concise summary> (under 70 characters)
Body format:
## Type
<type from 1a>
## Scope
<scope from 1b>
## Description
<description from 1c>
## Priority
<priority from 1d>
## Related issues
<related issue numbers, or "None">
---
Filed via `/cookbook-suggestion`
Print the preview:
=== Issue Preview ===
Title: <title>
<body>
Submit this issue to <$GH_REPO>? (yes / edit / cancel)
Determine the label based on type:
enhancement, contentenhancementenhancement, toolingenhancementRun:
gh issue create --repo $GH_REPO --title "<title>" --body "<body>" --label "<labels>"
If label creation fails because the label doesn't exist, retry without labels:
gh issue create --repo $GH_REPO --title "<title>" --body "<body>"
If the command fails for any other reason, print the error and stop.
Print the issue URL returned by gh issue create:
Issue created: <URL>
/cookbook-suggestion again.testing
Validate cookbook integrity — frontmatter, cross-references, indexes, skills, rules, file placement. Run from cookbook or consuming project.
tools
Remove the agentic cookbook from your project. Removes rules, state files, CLAUDE.md section, and optionally global plugins and status line.
tools
Analyze a macOS SwiftUI app and plan its conversion to native AppKit. Triggers on 'port to AppKit', 'convert SwiftUI to AppKit', 'remove SwiftUI', or /port-swiftui-to-appkit.
tools
--- name: plan-cookbook-recipe version: 2.3.0 description: Interactively design a new cookbook recipe through guided discussion disable-model-invocation: true context: fork allowed-tools: Read, Glob, Grep, Agent, Write, Edit, AskUserQuestion, Bash(git *), Bash(mkdir *), Bash(ls *) argument-hint: [recipe-name] [--version] --- # Plan Agentic Cookbook Recipe v2.3.0 ## Startup **First action**: If `$ARGUMENTS` is `--version`, print `plan-cookbook-recipe v2.3.0` and stop. Otherwise, print `plan-c