Install
$ agentstack add skill-drivestream-lab-prayog-skills-spec-draft ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
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
- The spec draft is a starting point — dev must review and edit before
committing. Do not present it as authoritative without dev review.
- Language in the spec must be engineering terms — FRs, acceptance criteria,
module scope — not copied PRD user-story language.
- Scope must be bounded to this repo only. Do not write FRs for other repos.
- Every FR must trace to a named section or bullet in the PRD.
- 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).
- 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.
- Impact map — (RECOMMENDED) PR comment from
/prd-impact-mapconfirming
this repo's scope.
- As-built —
implementation-status.md(REQUIRED) — understand what
already exists before writing FRs.
- Source —
source_rootsfrom profile — understand current module structure. - Service profile —
docs/specification/product/00-service-profile.mdif
it exists — understand the repo's existing domain.
adr_dir— existing ADRs constrain what this spec can propose.- Layout —
.harness/profile.yamlor [references/layout-defaults.md](references/layout-defaults.md)
Process
- T0 Gather — PRD path, impact map scope, as-built, source, service profile
- T1 Understand — initiative id; what capabilities land in this repo per PRD
and impact map; what already exists (as-built + source scan)
- 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.
- T3 Draft — write INIT-*.md using [references/output-template.md](references/output-template.md)
- T4 Flag — list ambiguities, open questions, and anything that needs PM
confirmation (route to meta PRD PR — see feasibility skill)
- 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.
- Author: drivestream-lab
- Source: drivestream-lab/prayog-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.