본문으로 건너뛰기
cccskills
무료GitHub에 공개

recursive-spec

Approval-gated, repo-aware requirements/spec authoring for new recursive-mode runs. Use when the user wants help creating a plan, spec, scope, or requirements for work that does not yet have a run, especially prompts like "create a plan", "help me plan", "create a spec", "write requirements", or similar derivatives.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model스타 117(GitHub 117 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(3)

  • SKILL.md5.5 KB
  • agents/openai.yaml229 B
  • references/patterns.md3.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

recursive-spec

Use this skill to co-author a repo-aware 00-requirements.md for a new recursive-mode run.

This skill is for requirements/spec authoring before implementation starts. It does not replace /.recursive/RECURSIVE.md, and it should not skip ahead to Phase 2 planning or Phase 3 implementation.

Primary Use Case

Use recursive-spec when the user wants help shaping work before a run exists, especially with prompts like:

  • create a plan
  • help me plan
  • create a spec
  • write requirements
  • spec this out
  • scope this

The important signal is plan/spec language for a new run, not implementation of an existing run.

Conversation Contract

When the trigger is detected:

  1. First ask whether the user wants help creating a spec for a recursive run.
  2. If the user replies positively, ask: What do you want to do?
  3. Then gather context, read the repo, and co-author the requirements.

Do not jump straight into writing 00-requirements.md before the user confirms they want spec help.

Draft Handling Before Approval

Until the user explicitly approves the spec:

  • keep the draft outside the repository worktree
  • prefer a temporary session artifact or scratch file
  • do not create /.recursive/run/<run-id>/
  • do not write 00-requirements.md

If the user rejects the draft, revise it or discard the temporary draft artifact. Do not leave behind a half-approved run folder.

Required Read Behavior

Before drafting requirements, read:

  1. /.recursive/STATE.md
  2. /.recursive/DECISIONS.md
  3. /.recursive/memory/MEMORY.md
  4. relevant memory shards only when they actually matter
  5. the most relevant code and tests for the requested area

The skill should be repo-aware, not a blind questionnaire. Use the control-plane docs to understand current truth and the codebase to understand actual surfaces, coupled modules, existing tests, and likely boundaries.

Authoring Flow

Use a guided interview. Ask one focused question at a time when the answer is not already grounded by repo docs or code.

Recommended sequence:

  1. Goal and user outcome
  2. Task type: feature, bugfix, refactor, migration, investigation
  3. Affected subsystem or files
  4. In-scope requirements (R#)
  5. Observable acceptance criteria for each requirement
  6. Edge cases, failure paths, and exclusions
  7. Constraints, fixed decisions, and boundaries
  8. Open unknowns that must be resolved before Phase 0 is locked

Prefer proposing draft wording and asking the user to confirm or correct it rather than asking the user to author the whole document from scratch.

Quality Rules

Borrow the strongest authoring ideas from contract-first workflows, but keep the output native to recursive-mode:

  • start with user intent and desired outcome
  • separate fixed decisions from open questions
  • define deterministic, observable acceptance criteria
  • include exception and failure-path thinking instead of only the happy path
  • make boundaries concrete enough to guide later AS-IS analysis and planning
  • keep out-of-scope items explicit

Do not introduce a separate .spec DSL or a second workflow format.

Output Contract

The finished output should become:

  • /.recursive/run/<run-id>/00-requirements.md

Use the repository's native Phase 0 requirements structure:

  • keep the scaffolded header from recursive-init, including Workflow version: recursive-mode-audit-v2
  • keep the required ## TODO section and replace placeholder checklist items rather than deleting the heading
  • ## Requirements
  • ## Out of Scope
  • ## Constraints

Within ## Requirements, each R# should include:

  • a short title
  • a clear description
  • observable acceptance criteria bullets

Run Creation Rule

Do not create the run folder immediately.

  1. Draft and refine the requirements with the user first.
  2. Keep the draft in a temporary non-repo artifact until approval.
  3. Confirm the user approves the spec and that it is complete enough to proceed.
  4. Create the run with scripts/recursive-init.py or scripts/recursive-init.ps1.
  5. Replace the scaffolded 00-requirements.md with the approved requirements content.

This keeps the run artifact grounded in user-approved requirements instead of half-formed notes.

Routing Awareness

If spec authoring uses delegated critique, delegated review, or any other external model help to shape the draft, re-read:

  • /.recursive/config/recursive-router.json
  • /.recursive/config/recursive-router-discovered.json

immediately before choosing that CLI/model, and route through recursive-router instead of inventing an ad hoc model choice.

Boundaries

  • Stay focused on 00-requirements.md authoring for a new run.
  • Do not silently convert this into Phase 2 planning.
  • Do not start implementation just because the requirements became clear.
  • Do not skip code reading when repository structure matters to scope or constraints.
  • Do not create a run until the user-approved spec is ready to write.
  • Do not write repository requirements artifacts from an unapproved draft.

References

  • /.recursive/RECURSIVE.md
  • /.recursive/STATE.md
  • /.recursive/DECISIONS.md
  • /.recursive/memory/MEMORY.md
  • ../../references/artifact-template.md
  • ./references/patterns.md

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, chat applications, voice agents, or browser automation. Covers Agent class, state management, callable RPC, Workflows, durable execution, queues, retries, observability, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), feature flags (Flagship), networking (Tunnel, Spectrum), security (WAF, DDoS), and infrastructure-as-code (Terraform, Pulumi). Use for any Cloudflare development task. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

Send and receive transactional emails with Cloudflare Email Service (Email Sending + Email Routing). Use when building email sending (Workers binding or REST API), email routing, Agents SDK email handling, or integrating email into any app — Workers, Node.js, Python, Go, etc. Also use for email deliverability, SPF/DKIM/DMARC, wrangler email setup, MCP email tools, or when a coding agent needs to send emails. Even for simple requests like "add email to my Worker" — this skill has critical config details.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

Guides Cloudflare One Zero Trust and SASE work across Access, Gateway, WARP, Tunnel, Cloudflare WAN, DLP, CASB, device posture, and identity. Use when designing, configuring, troubleshooting, or reviewing Cloudflare One deployments. Retrieval-first: use current Cloudflare docs/API schemas instead of embedded product docs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

Plans migrations from Zscaler ZIA/ZPA, Palo Alto, legacy VPN, SWG, or SASE stacks to Cloudflare One. Use for migration assessments, policy mapping, rollout plans, and parity/gap analysis.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

Review the changed lines of a single file in a pull request for bugs, correctness, error handling, security, and maintainability, and return structured findings.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

try-works의 스킬 모두 보기

이 스킬의 문제 신고