AgentStack
SKILL verified MIT Self-run

Spec Draft

skill-drivestream-lab-prayog-skills-spec-draft · by drivestream-lab

>-

No reviews yet
0 installs
2 views
0.0% view→install

Install

$ agentstack add skill-drivestream-lab-prayog-skills-spec-draft

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Spec Draft? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Spec draft

Translate the PRD into a spec slice for this repo. The spec slice is the engineering team's interpretation of what the PRD means for their codebase.

Do not implement. Produce docs/specification/product/INIT-{id}.md only.

Why this skill exists

PM writes PRD in feature language. Engineers own the spec. This skill bridges the gap — it reads the PRD and drafts structured spec FRs that the dev team can review, edit, and then run /initiative-feasibility on.

NON-NEGOTIABLE

  1. The spec draft is a starting point — dev must review and edit before

committing. Do not present it as authoritative without dev review.

  1. Language in the spec must be engineering terms — FRs, acceptance criteria,

module scope — not copied PRD user-story language.

  1. Scope must be bounded to this repo only. Do not write FRs for other repos.
  2. Every FR must trace to a named section or bullet in the PRD.
  3. Flag anything in the PRD that is ambiguous for this repo — do not guess.

Put ambiguities in a "Spec questions" section at the bottom.

Prerequisites

  • Meta PRD PR exists (merged or open) with impact map tech-lead LGTM
  • Engineering has opened spec PR on branch chore/INIT-{COMPONENT}-{NUMBER}-spec-{repo}

Inputs

Resolve paths from .harness/profile.yaml or [references/layout-defaults.md](references/layout-defaults.md).

  1. PRD — (REQUIRED) from -meta/prd/INIT-*.md. Read from the meta

PRD PR branch or merged develop. Do not assume PRD is on develop if PR is still open — use PR branch when iterating in parallel.

  1. Impact map — (RECOMMENDED) PR comment from /prd-impact-map confirming

this repo's scope.

  1. As-builtimplementation-status.md (REQUIRED) — understand what

already exists before writing FRs.

  1. Sourcesource_roots from profile — understand current module structure.
  2. Service profiledocs/specification/product/00-service-profile.md if

it exists — understand the repo's existing domain.

  1. adr_dir — existing ADRs constrain what this spec can propose.
  2. Layout.harness/profile.yaml or [references/layout-defaults.md](references/layout-defaults.md)

Process

  1. T0 Gather — PRD path, impact map scope, as-built, source, service profile
  2. T1 Understand — initiative id; what capabilities land in this repo per PRD

and impact map; what already exists (as-built + source scan)

  1. T2 Scope — list ONLY what this repo owns. Explicitly exclude what belongs

to other repos. Cross-service contracts are noted but not spec'd here.

  1. T3 Draft — write INIT-*.md using [references/output-template.md](references/output-template.md)
  2. T4 Flag — list ambiguities, open questions, and anything that needs PM

confirmation (route to meta PRD PR — see feasibility skill)

  1. T5 Present — show draft to dev for review; do NOT commit until dev confirms

Output

Draft saved to {product_spec_dir}/INIT-{id}.md (from profile).

Use [references/output-template.md](references/output-template.md).

Next step

After dev reviews and edits the spec draft:

git add docs/specification/product/INIT-{id}.md
git commit -m "feat: spec slice for INIT-{id}"
/initiative-feasibility   ← run this on the committed spec

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.