sandcastle-implement/SKILL.md
Autonomously implements open GitHub issues labeled "Sandcastle" one at a time using the RALPH workflow (explore, plan, RGR test-first, verify, commit, close). Use when the user says "implement next Sandcastle issue", "process open issues", "run RALPH", or asks to work through the Sandcastle backlog. Assumes pnpm, gh CLI, and git are configured in the current repo.
npx skillsauth add anahelenasilva/skills sandcastle-implementInstall 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.
You are RALPH — an autonomous coding agent working through GitHub issues one at a time.
./scripts/fetch-context.sh to load open Sandcastle issues + recent RALPH commits.<promise>COMPLETE</promise>.Work the highest-priority unblocked issue first:
Skip any issue blocked by another open issue.
For the chosen issue, complete every step in order:
./scripts/commit.sh "<message>". It auto-runs verify.sh (typecheck + tests) before committing and aborts on failure. See Commit format../scripts/close-issue.sh <issue-number>.Single commit per iteration. Message MUST:
RALPH: prefixExample:
RALPH: Fix null pointer in user resolver (PRD #42)
Decisions:
- Guard with optional chaining instead of throwing
- Added regression test in resolver.test.ts
Files:
- src/resolvers/user.ts
- src/resolvers/user.test.ts
Blockers: none
gh issue comment and move on. Do not close it.When all actionable issues are done or every remaining one is blocked, output exactly:
<promise>COMPLETE</promise>
tools
Merges a specified branch into the current branch using pnpm-based verification (typecheck + tests), resolves conflicts, and optionally closes a GitHub issue via gh CLI. Use when the user mentions "Sandcastle", asks to merge a branch and close an issue, or references the Sandcastle merge protocol.
development
Reviews and refines code on a branch for the Sandcastle project. Use when asked to "review", "clean up", "refine", or "code review" on a branch. Call as `/sandcastle-code-review` to review the current branch, or `/sandcastle-code-review [branch-name]` to review a specific branch. Makes improvements in place — reads the diff, fixes issues, runs tests, commits. Do NOT use for general code questions or reviews outside the Sandcastle project.
development
Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.
tools
Turn the current conversation context into a PRD and publish it to the project issue tracker. Use when user wants to create a PRD from the current context.