spec-kitty-accept
SKILL.md
/spec-kitty.accept - Validate Feature Readiness
Version: 0.11.0+ Purpose: Validate all work packages are complete and feature is ready to merge.
📍 WORKING DIRECTORY: Run from MAIN repository
IMPORTANT: Accept runs from the primary repository checkout root, NOT from a WP worktree.
# If you're in a worktree, return to main first:
cd $(git rev-parse --show-toplevel)
# Then run accept:
spec-kitty accept
User Input
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Discovery (mandatory)
Before running the acceptance workflow, gather the following:
- Feature slug (e.g.,
005-awesome-thing). If omitted, detect automatically. - Acceptance mode:
prwhen the feature will merge via hosted pull request.localwhen the feature will merge locally without a PR.checklistto run the readiness checklist without committing or producing merge instructions.
- Validation commands executed (tests/builds). Collect each command verbatim; omit if none.
- Acceptance actor (optional, defaults to the current agent name).
Ask one focused question per item and confirm the summary before continuing. End the discovery turn with WAITING_FOR_ACCEPTANCE_INPUT until all answers are provided.
Execution Plan
- Compile the acceptance options into an argument list:
- Always include
--actor "windsurf". - Append
--feature "<slug>"when the user supplied a slug. - Append
--mode <mode>(pr,local, orchecklist). - Append
--test "<command>"for each validation command provided.
- Always include
- Run
spec-kitty agent feature accept --json $ARGUMENTS(the CLI wrapper) with the assembled arguments and--json. - Parse the JSON response. It contains:
summary.ok(boolean) and other readiness details.summary.outstandingcategories when issues remain.instructions(merge steps) andcleanup_instructions.notes(e.g., acceptance commit hash).
- Present the outcome:
- If
summary.okisfalse, list each outstanding category with bullet points and advise the user to resolve them before retrying acceptance. - If
summary.okistrue, display:- Acceptance timestamp, actor, and (if present) acceptance commit hash.
- Merge instructions and cleanup instructions as ordered steps.
- Validation commands executed (if any).
- If
- When the mode is
checklist, make it clear no commits or merge instructions were produced.
Output Requirements
- Summaries must be in plain text (no tables). Use short bullet lists for instructions.
- Surface outstanding issues before any congratulations or success messages.
- If the JSON payload includes warnings, surface them under an explicit Warnings section.
- Never fabricate results; only report what the JSON contains.
Error Handling
- If the command fails or returns invalid JSON, report the failure and request user guidance (do not retry automatically).
- When outstanding issues exist, do not attempt to force acceptance—return the checklist and prompt the user to fix the blockers.
Weekly Installs
11
Repository
richfrem/agent-…s-skillsGitHub Stars
1
First Seen
8 days ago
Security Audits
Installed on
opencode11
github-copilot11
codex11
kimi-cli11
gemini-cli11
amp11