بنقرة واحدة
spec
Technical spec — data model, file plan, refined acceptance criteria
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Technical spec — data model, file plan, refined acceptance criteria
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Multi-slide bilingual brand carousels — Claude writes the deck, kun renders Anthropic-styled slides at exact platform sizes, a human approves, channels receive
Draft, stage, and publish brand social posts — Claude drafts, /higgs renders, a human approves, Hermes relays
Convert a file or URL to Markdown via MarkItDown (PDF, Office, images, audio, web)
Full pipeline — idea to production (chains every stage)
Autonomous block QA — detect, adversarially verify, fix safe tiers, hand the residual to a human
Self-update — read the latest releases across the engine's whole surface (Anthropic, stack, services, practice), diff against the engine, adopt or propose
| name | spec |
| description | Technical spec — data model, file plan, refined acceptance criteria |
| when_to_use | Use when a captured feature idea (GitHub issue) needs to become a technical specification — Prisma data model sketch, file plan, refined acceptance criteria, and dependencies — published as an issue comment and paused for the single human approval gate of the pipeline; this is the Specify stage between /idea and /plan or /schema, not architecture planning (/plan) or task breakdown (/tasks). Triggers on: spec the <feature>, write the spec, technical specification, pipeline Specify stage (human approval gate). |
| argument-hint | <feature>|#N [product] |
Turn a feature idea into a technical spec: data model, file plan, and refined acceptance criteria. The planning stage that bridges idea to implementation.
/spec #42 — spec from issue number/spec billing — spec from feature name (finds the issue)/spec billing hogwarts — product-scopedIf argument is #N:
gh issue view <N> --repo <repo>
If argument is a feature name:
gh issue list --repo <repo> --search "<name> type:feature" --state open --limit 1
Then view the first match.
Extract: title, user story, acceptance criteria, scope.
Read the target product's current state:
Schema:
# Read existing Prisma models to understand the data landscape
cat prisma/schema.prisma # or ls prisma/models/
Look for:
Routes:
# Understand existing page structure
ls -la src/app/[lang]/
Look for:
(school-dashboard), (saas-dashboard))Components:
# See existing feature component directories
ls src/components/
Look for:
Product context:
Based on the issue + codebase survey, generate:
A. Data Model
// Sketch — not final, will be refined in schema stage
model FeatureName {
id String @id @default(cuid())
// ... fields based on acceptance criteria
// ... relations to existing models
// ... tenant isolation field
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
B. File Plan
Files to create:
src/components/{scope}/{name}/content.tsx — server component, data fetching
src/components/{scope}/{name}/actions.ts — server actions (CRUD)
src/components/{scope}/{name}/form.tsx — client form component
src/components/{scope}/{name}/columns.tsx — table column definitions (if list view)
src/components/{scope}/{name}/validation.ts — Zod schemas
src/app/[lang]/{route}/{name}/page.tsx — page (mirror pattern)
Files to modify:
prisma/schema.prisma (or prisma/models/) — add model
src/dictionaries/en.json — add i18n keys
src/dictionaries/ar.json — add i18n keys
[navigation config if applicable]
C. Refined Acceptance Criteria Refine the original criteria with technical specifics:
D. Dependencies
The human gate is the most expensive checkpoint in the pipeline — a rubber-stamped ambiguous spec wastes every stage after it. Before publishing, scan the draft against this coverage taxonomy and mark each category Clear / Partial / Missing:
For the Partial/Missing categories, ask Abdout at most 3 high-impact questions (multiple-choice where possible, via AskUserQuestion). Skip the step entirely if everything is Clear — don't manufacture questions. Encode the answers into the spec under ### Clarifications.
gh issue comment <number> --repo <repo> --body "<spec>"
Format the comment with a clear header:
## Technical Spec
### Data Model
<prisma sketch>
### File Plan
<file list>
### Acceptance Criteria (Refined)
<criteria>
### Clarifications
<Q → chosen answer, one line each — or "none needed">
### Dependencies
<list>
---
_Generated by spec pipeline. Ready for implementation._
Ask: "Spec published to issue #N. Review and approve to continue implementation. Proceed? (Y/n)"
This is the ONE human checkpoint in the entire pipeline. Everything after this is automated.
If the human has feedback, update the spec comment and re-ask.
Spec comment exists on the issue with: data model sketch, file plan, refined acceptance criteria, clarifications encoded. Human has approved.