skills/cookbook-bug/SKILL.md
File a bug report against the agentic cookbook. Guides the user through describing the issue, then creates a GitHub issue. Triggers on 'report a bug', 'cookbook bug', 'file a bug', or /cookbook-bug.
npx skillsauth add agentic-cookbook/tools cookbook-bugInstall 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-bug v1.0.0 and stop.
Otherwise, print cookbook-bug 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 filing a bug report against the agentic cookbook. Collects structured information about the problem, previews the issue, and submits it to GitHub via gh issue create.
/cookbook-bug
/cookbook-bug broken link in test-pyramid guideline
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 area is the bug in?
1. Recipe — incorrect or incomplete recipe content
2. Guideline — wrong or misleading guideline
3. Principle — issue with a principle
4. Skill — a skill doesn't work correctly
5. Rule — a rule file has problems
6. Frontmatter — metadata, domain, version, or format issue
7. Cross-reference — broken link or reference
8. Other
Ask: "Which file(s) are affected? (path relative to cookbook root, or 'not sure')"
If the user says "not sure", that's fine — note it in the issue body and move on.
If the user names a file, verify it exists under $COOKBOOK_REPO. If it doesn't, let the user know and ask them to confirm or correct.
If not already provided via $ARGUMENTS, ask: "Describe the bug — what's wrong and what you expected instead."
Ask:
How severe is this?
1. Cosmetic — typo, formatting, minor wording
2. Minor — incorrect but not misleading, missing optional content
3. Major — factually wrong, broken references, missing required content
Build the issue title and body, then show the preview to the user.
Title format: Bug: <concise summary> (under 70 characters)
Body format:
## Category
<category from 1a>
## Affected file(s)
<file paths from 1b, or "Not identified">
## Description
<description from 1c>
## Severity
<severity from 1d>
---
Filed via `/cookbook-bug`
Print the preview:
=== Issue Preview ===
Title: <title>
<body>
Submit this issue to <$GH_REPO>? (yes / edit / cancel)
Determine the label based on severity:
bug, cosmeticbugbug, priorityRun:
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-bug 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