원클릭으로
kody
Write Kody-Engine-ready GitHub issues and interact with the Kody pipeline (trigger, monitor, verify)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Write Kody-Engine-ready GitHub issues and interact with the Kody pipeline (trigger, monitor, verify)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | kody |
| description | Write Kody-Engine-ready GitHub issues and interact with the Kody pipeline (trigger, monitor, verify) |
| version | 1.0.0 |
Use this skill when working in a repository that has Kody Engine installed. It has two parts:
Kody reads the issue body + comments to understand the task. Specifically:
.kody/tasks/<task-id>/task.md)Structure the issue body with these sections, in order:
## Goal
One clear sentence describing what needs to be built or fixed.
## Context
Why this is needed — background, motivation, user story.
1–3 paragraphs. Be specific about the problem, not the solution.
## Acceptance Criteria
- [ ] Criterion 1 (observable, testable)
- [ ] Criterion 2
- [ ] Criterion 3
## Scope
**In scope:** what Kody should implement.
**Out of scope:** what Kody should skip or what another issue covers.
| Good | Bad |
|---|---|
| Single, well-scoped task | Multiple unrelated tasks in one issue |
| Concrete acceptance criteria | Vague goals like "improve performance" |
| Specific file/feature references | "Fix the frontend" |
| Explains why, not just what | Just describing the implementation |
| Mentions affected files/modules | No context about where to work |
Add these labels before triggering the pipeline to control behavior:
| Label | Effect |
|---|---|
kody:low | Skip plan stage and review stage — Kody builds directly |
kody:medium | Skip review-fix stage (review runs but failures are not auto-retried) |
kody:high | Full pipeline including risk gate — Kody pauses for @kody approve before building |
kody:feature | Labels the task as a feature in the PR title (feat: prefix) |
kody:bugfix | Labels the task as a bug fix (fix: prefix) |
kody:refactor | Labels as refactoring (refactor: prefix) |
kody:docs | Labels as documentation (docs: prefix) |
Tip: If you don't set a complexity label, Kody's
taskifystage infers it from the issue scope. Setkody:lowexplicitly if you want a fast, focused build with no review overhead.
Only users with these GitHub author associations can trigger Kody:
Bot accounts, contributors, and first-time contributors are blocked and receive an error comment.
Post a comment on the GitHub issue (or PR) using one of these:
@kody # Full pipeline (taskify → plan → build → verify → review → ship)
@kody full # Same as @kody (explicit)
@kody rerun # Resume from the last failed stage (uses previous task-id)
@kody rerun <id> # Resume a specific task-id from the last failed stage
@kody rerun <id> --from <stage> # Resume from a specific stage (e.g. --from build)
@kody fix # Fix the last failed run — diagnose and push fixes
@kody fix-ci # Fix CI failures only (detect → fix → push without full pipeline)
@kody review # Review the latest PR
@kody review <url> # Review a specific PR URL
@kody bootstrap # Re-run bootstrap (analyze repo, regenerate memory files)
@kody approve # Approve a paused pipeline (answers the risk gate for kody:high issues)
@kody ask <q> # Ask a question — Kody posts an answer as a comment and pauses
@kody hotfix # Hotfix mode — skip plan and review stages
@kody decompose # Decompose this issue into sub-tasks
Append feedback after the command — it becomes the feedback field:
@kody # Full pipeline with no extra feedback
@kody --feedback "Use the new API endpoint instead of the old one"
@kody approve --feedback "Yes, go ahead with the changes"
Kody sets these labels in sequence as the pipeline progresses. Watch them to track status:
kody:planning → kody:building → kody:verifying → kody:review
→ kody:fixing → kody:shipping → kody:done (success)
↘ kody:failed
kody:waiting # Pipeline paused — Kody is waiting for answers to questions
kody:paused # Pipeline paused — awaiting @kody approve (risk gate for kody:high)
In CI runs, labels are the only persistent state between steps (
.kody/tasks/doesn't survive across CI jobs). If a pipeline fails and is retried, Kody reads these labels to determine where to resume.
Kody posts these comment types on the issue during the pipeline:
| Comment | Meaning |
|---|---|
🚀 Kody pipeline started: \task-id` (logs)` | Pipeline triggered, logs linked |
| Questions listed in a block | Pipeline paused at question gate — answer each question in a comment |
🛑 **Risk gate: HIGH complexity — awaiting approval** + plan summary | Pipeline paused at risk gate — use @kody approve to proceed |
To approve: \@kody approve`` | Follow-up after risk gate warning |
✅ Fix pushed to PR #N | Review-fix stage pushed changes to the PR |
🎉 PR created: https://... | Pipeline succeeded — PR link posted |
## Pipeline Summary (table) | Stage-by-stage status, duration, and retry count |
❌ Pipeline failed at **stage-name** | Pipeline failed — check the stage details |
The pipeline summary comment is a markdown table:
## Pipeline Summary
| Stage | Status | Duration | Retries |
| ------- | ------- | -------- | ------- |
| taskify | ✅ PASS | 12s | 0 |
| plan | ✅ PASS | 45s | 0 |
| build | ✅ PASS | 3m 12s | 0 |
| verify | ✅ PASS | 1m 08s | 1 |
| review | ✅ PASS | 28s | 0 |
| ship | ✅ PASS | 18s | 0 |
✅ PASS — stage succeeded❌ FAIL — stage failed; check the error comment above the summary🎉 PR created: ...)✅ PASSkody:done + kody:success on the issueCloses #<issue-number> and a summary of changesIf the PR was created but labels aren't updated (rare CI timing issue), manually refresh by checking the PR status.
❌ Pipeline failed at **stage-name** in the comments@kody fix # Best for: build errors, lint errors, test failures
@kody rerun --from build # Best for: Kody pushed bad code, you fixed it locally and want to resume from build
@kody rerun --from plan # Best for: plan was wrong or you want Kody to re-plan from scratch
@kody bootstrap # Best for: verify stage fails due to missing tools/setup
| Stage | Common failure | Fix command |
|---|---|---|
taskify | Issue body too vague | Edit the issue body with clearer acceptance criteria, then @kody rerun --from taskify |
plan | Kody proposed wrong approach | Add guidance in a comment, then @kody rerun --from plan |
build | Kody wrote broken code | @kody fix — Kody diagnoses and fixes |
verify | Tests/lint/typecheck fail | @kody fix — Kody runs diagnosis and retries |
review | Kody's own review found issues | @kody (standard full pipeline) — review-fix runs automatically |
ship | Push/auth error | Check that the branch doesn't exist and GitHub token is valid, then @kody rerun --from ship |
If Kody posts a list of questions and the issue shows kody:waiting:
You don't need to use any special command — just post a regular comment with the answers.
If the issue shows kody:high and Kody posted the risk gate comment with a plan summary:
@kody approve # Approve as-is
@kody approve --feedback "Yes, but use the v2 API instead" # Approve with guidance
After approval, Kody resumes from the build stage (not from scratch).| Goal | Action |
|---|---|
| Start a full pipeline | Comment @kody on the issue |
| Monitor progress | Watch kody:* labels |
| Answer questions | Post a regular comment with answers |
| Approve high-risk task | Comment @kody approve |
| Fix a failure | Comment @kody fix |
| Resume a specific task | Comment @kody rerun <task-id> --from <stage> |
| Create Kody-ready issue | See Part 1 above |
Guide for working with Next.js App Router (Next.js 13+). Use when migrating from Pages Router to App Router, creating layouts, implementing routing, handling metadata, or building Next.js 13+ applications. Activates for App Router migration, layout creation, routing patterns, or Next.js 13+ development tasks.
Use when building Next.js 14+ applications with App Router, server components, or server actions. Invoke to configure route handlers, implement middleware, set up API routes, add streaming SSR, write generateMetadata for SEO, scaffold loading.tsx/error.tsx boundaries, or deploy to Vercel. Triggers on: Next.js, Next.js 14, App Router, RSC, use server, Server Components, Server Actions, React Server Components, generateMetadata, loading.tsx, Next.js deployment, Vercel, Next.js performance.
Expert integration of Supabase Auth with Next.js App Router Use when: supabase auth next, authentication next.js, login supabase, auth middleware, protected route.
Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Triggers on tasks involving: collection definitions, field configurations, hooks, access control, database queries, custom endpoints, authentication, file uploads, drafts/versions, live preview, or plugin development. Also use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.
React renderer for json-render that turns JSON specs into React components. Use when working with @json-render/react, building React UIs from JSON, creating component catalogs, or rendering AI-generated specs.
Advanced Next.js patterns - middleware, Server Actions, caching with Clerk.