Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/carson-sweet-code-issue
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/code-issue
What's inside
- Skill name
code-issue- Description
- Implement a GitHub issue end-to-end.
- License
- AGPL-3.0
- Instructions
- 82 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: missing
Files (1)
- SKILL.md
SKILL.md (first lines)
!`bash ${CLAUDE_SKILL_DIR}/../../hooks/read-state.sh session-state`
<preflight-guard>
STOP. Before executing this skill, check: does .sweetclaude/state/sweetclaude.yaml or .sweetclaude/state/phase.yaml exist in the project directory? If NEITHER, do not proceed. Tell the user: "This project is not set up for SweetClaude. Running the pre-flight check now." Then invoke the sweetclaude master skill (Skill tool, skill: "sweetclaude:master") and run its pre-flight. Return here only after the pre-flight passes.
</preflight-guard>
# Implement Issue
Implement GitHub issue $ARGUMENTS using the SweetClaude pipeline.
## Process Control Gate
Before invoking `sweetclaude:library-load code-tdd` or any implementation subagent path,
read `skills/process-controls.md` and create or update
`.sweetclaude/state/process-control-ledger.yaml`. If the ledger is missing,
over budget, stale, or in a stop disposition, pause and ask the user for a
bounded decision before dispatching more agents or continuing a correction
loop.
For large/high-rigor issues, implementation may not begin until the issue or
calling workflow supplies a frozen `success_criteria_contract`. Preserve
`success_criteria_contract_hash` and `criterion_ids` through planning,
implementation, verification, and PR preparation. Completion requires
`success-criteria-ledger.json` with every frozen criterion evaluated and
`all_success_criteria_passed == true`. No review, caucus, verification,
release, or completion step may add completion criteria; concerns outside the
contract become backlog, amendment requests, split stories, or human
escalations.
## Process
0. **Story Branch Setup.**
```bash
git branch --show-current
```
If already on a branch matching an issue ID prefix (e.g., `issue-42/...`, `ISSUE-046/...`) — skip.
Otherwise, derive the branch name: ID = `issue-{number}` from `$ARGUMENTS`; slug = issue title lowercased, non-alphanumeric → hyphens, collapsed + truncated to 40 chars. Branch name: `{ID}/{slug}`.
Offer via AskUserQuestion:
- **Create branch `{branch-name}`** (Recommended) — `git checkout -b {branch-name}`
- **Stay on current branch** — I'll manage branches myself
- **Something else**
1. **Explore.** Read the issue (`gh issue view $ARGUMENTS`). Follow linked docs (Notion, specs, ADRs). Read relevant source files. Summarize current behavior and risks. Do not change code yet.
2. **Ripple analysis.** Run `sweetclaude:library-load design-change-impact-analysis` on the affected area. Present the impact assessment.
3. **Plan.** Propose a step-by-step plan with:
- Files to modify
- TDD level (bug fix → Level 1-2, feature → Level 2-3)
- Test strategy: what test files, what assertions
- Verification commands
Wait for approval (respecting deference level).
4. **Implement with TDD.** Invoke `sweetclaude:library-load code-tdd` at the planned level:
- Bug fixes: Level 1-2 — regression test first, then fix
- Features: Level 2-3 — depends on whether Gherkin specs exist
5. **Verify.** Run lint and tests for affected packages. Invoke `sweetclaude:library-load code-verify`.
6. **Update docs.** Run `sweetclaude:library-load documents-update-docs` to check if documentation needs updating.
7. **Completion.** Run `sweetclaude:library-load code-testing` for the pre-PR checklist. Stage any unstaged changes. Draft a conventional commit message referencing the issue number. Then offer via AskUserQuestion:
- **Open PR** (Recommended) — commit and open PR with `gh pr create`; fill the PR template completely, reference the issue number
- **Commit, merge, and push** — commit to story branch, merge to main, push origin; confirm commit message before executing
- **Commit only** — commit staged changes; I'll merge/push manually
- **Leave as is** — I'll handle git myself
## Rules
- If acceptance criteria are unclear or missing, stop and ask before writing tests.
- Keep changes minimal. Follow existing patterns.
- Every behavior change needs a test.
- If you hit a blocker, report it. Do not work around it silently.
- Update traceability in `.sweetclaude/` after completion.
- **Direction change detection.** Watch for signals the scope has shifted: user says "actually, let me rethink" or "this is turning into something bigger"; issue scope changes materially mid-session; files well outside the original scope are touched. When detected, offer via AskUserQuestion: "Stash current work, create new story" (Recommended — `git stash push -m "WIP: {branch}"`, prompt for new backlog item + branch) / "Keep going on this branch" / "Something else".From carson-sweet/sweetclaude, AGPL-3.0.
More from carson-sweet/sweetclaude
- 0.614score
code-testing
carson-sweet
Run any combination of test suite, mutation testing, security review, and PR pre-check.
SkillAFreshness: A★ 7Claude Code +9 - 0.614score
project-gh-sync-issues
carson-sweet
Bidirectional status sync between local issue files and GitHub Issues.
SkillAFreshness: A★ 7Claude Code +9 - 0.614score
code-tdd
carson-sweet
Internal TDD process skill — invoked by code-feature, code-issue, and code-debt.
SkillAFreshness: A★ 7Claude Code +9 - 0.614score
project-gh-import-issues
carson-sweet
Import open GitHub Issues into the local issue store as v4 story files.
SkillAFreshness: A★ 7Claude Code +9 - 0.614score
product-sprint-plan
carson-sweet
Plan a sprint by selecting stories from the backlog, estimating scope, and producing a sprint commitment.
SkillAFreshness: A★ 7Claude Code +9 - 0.611score
john-wick-checkin
carson-sweet
Internal John Wick phase check-in subagent.
SkillAFreshness: A★ 7Claude Code +9 - 0.611score
code-feature
carson-sweet
Build a new feature end-to-end.
SkillAFreshness: A★ 7Claude Code +9 - 0.611score
code-review
carson-sweet
Code, security, and compliance review.
SkillAFreshness: A★ 7Claude Code +9 - 0.611score
project-backlog-triage
carson-sweet
Structured backlog grooming session.
SkillAFreshness: A★ 7Claude Code +9 - 0.611score
code-verify
carson-sweet
Run verification before claiming work is complete.
SkillAFreshness: A★ 7Claude Code +9 - 0.611score
john-wick
carson-sweet
Fully autonomous, resumable, multi-session SDLC pipeline.
SkillAFreshness: A★ 7Claude Code +9 - 0.611score
product-user-tdd-tests
carson-sweet
Transition user stories into Gherkin .feature files.
SkillAFreshness: A★ 7Claude Code +9
Signals
- Stars
- 7
- Forks
- 3
- Open issues
- 4
- Last commit (this folder)
- Oct 20, 2026 (9 days ago)
- Last release
- Oct 24, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- Repository
- github.com/carson-sweet/sweetclaude
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from carson-sweet
- 0.614score
project-gh-sync-issues
carson-sweet
Bidirectional status sync between local issue files and GitHub Issues.
SkillAFreshness: A★ 7Claude Code +9 - 0.614score
code-testing
carson-sweet
Run any combination of test suite, mutation testing, security review, and PR pre-check.
SkillAFreshness: A★ 7Claude Code +9 - 0.614score
product-sprint-plan
carson-sweet
Plan a sprint by selecting stories from the backlog, estimating scope, and producing a sprint commitment.
SkillAFreshness: A★ 7Claude Code +9 - 0.614score
project-gh-import-issues
carson-sweet
Import open GitHub Issues into the local issue store as v4 story files.
SkillAFreshness: A★ 7Claude Code +9 - 0.614score
code-tdd
carson-sweet
Internal TDD process skill — invoked by code-feature, code-issue, and code-debt.
SkillAFreshness: A★ 7Claude Code +9 - 0.611score
code-review
carson-sweet
Code, security, and compliance review.
SkillAFreshness: A★ 7Claude Code +9
Cite this page
code-issue skill. Agent Mart. https://agentmart.dev/skills/carson-sweet-code-issue (last updated 2026-10-24)