code-implementation
Code Implementation
Structured approach to implementing a code task: understand, plan, implement, commit. Uses TDD when the project has test infrastructure, and direct implementation otherwise.
Inputs
This skill expects a clear task — either an issue body, a user description, or a PR comment with requested changes. If the task is unclear, ask a specific clarifying question before proceeding.
Step 1: Understand the task
Read the task description thoroughly. If it references other files, PRDs, or issues, read those too. Explore relevant parts of the codebase to understand the existing patterns and architecture.
Load stack-specific references
Check the project root for framework config files and load the corresponding reference from references/:
next.config.*detected → readreferences/nextjs.md(App Router patterns, Server/Client Components, Server Actions, common pitfalls)wrangler.toml/wrangler.jsonc/wrangler.jsondetected → readreferences/cloudflare.md(D1, R2, KV, Queues, Workers constraints, Next.js on Workers bindings)
More from hifisaputra/skills
brainstorm-to-issues
Interactive brainstorming session that refines an idea into a PRD and breaks it into GitHub issues labeled ai-ready. Use when user wants to brainstorm, plan a feature, has an idea to discuss, says "brainstorm", "let's plan", "I have an idea", or wants to break work into issues.
15code-review
Thorough code review of a PR — checks correctness, security, performance, style consistency, test coverage, and verifies the PR addresses its linked issue. Use when user says "review this PR", "check this PR", "look at this diff", or any request to review code changes.
11process-issues
Autonomous loop that picks up ai-ready GitHub issues, handles PR feedback, and asks clarifying questions when blocked. Use when user says "work issues", "start working", "process backlog", or wants AI to autonomously implement GitHub issues.
9process-reviews
Autonomous loop that finds PRs needing AI review and delegates to the code-review skill. Use when user says "review PRs", "start reviewing", "check for PRs to review", "process reviews", or wants AI to continuously monitor and review PRs.
9work-issues
Autonomous loop that implements ai-ready GitHub issues, handles PR feedback, and asks clarifying questions when blocked. Use when user says "work issues", "start working", "process backlog", or wants AI to autonomously implement GitHub issues.
5review-prs
Poll for open PRs ready for review and post AI code reviews. Use with /loop to continuously monitor repos. Use when user says "review PRs", "check for PRs", or "start reviewing".
4