원클릭으로
new-route
Scaffold a new API route following project patterns
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Scaffold a new API route following project patterns
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when bringing the harness method to a NEW or non-sentropic repo — maps the repo's conventions into a harness profile so the same scope/branch/verify kernel applies anywhere.
Use before any creative/design work (a feature, a package, an evolution) — explores intent and design via the spec-ladder with multi-peer adversarial review BEFORE implementation.
Use on any bug, test failure, or unexpected behaviour BEFORE proposing a fix — runs the generic evidence-first root-cause loop.
Use when you have a spec/decisions and need an executable plan — writes a lot-based BRANCH.md from the template and completes with track for realization state.
Use when completing a feature, a design step, or before merging — runs a ≥2-peer consensus review and reconciles the findings, instead of a single rubber-stamp pass.
Use when adding or evolving tests for a feature/bugfix — applies the sentropic test-pyramid, scoped-test loop, environment isolation, and AI-flaky policy.
| name | new-route |
| description | Scaffold a new API route following project patterns |
| paths | api/src/routes/** |
| allowed-tools | Read Write Bash Edit Glob Grep |
Reference pattern: api/src/routes/api/admin.ts
requireAuth() + requireWorkspaceAccessRole() or requireWorkspaceEditorRole()api/src/routes/api/index.tsworkspace_id filterapi/tests/api/<name>.test.ts
beforeEach: createAuthenticatedUser('role')afterEach: cleanupAuthData()authenticatedRequest(app, method, path, token, body)