All skills
asyrafhussin avatar

/prd-writing

@eaaf04f

Step-by-step workflow for writing Product Requirements Documents. Use when creating PRDs, documenting features, writing specifications, or planning new products. Triggers on "write PRD", "create PRD", "document requirements", "feature spec", or "product requirements".

Use this Skill: https://skilld.dev/gh/asyrafhussin/agent-skills/prd-writing

This session only. Nothing lands on disk.

rulesstruct-output-location.md

≈592 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Save PRDs to a Consistent File Location

Impact: CRITICAL (Enables discovery and prevents document sprawl)

PRDs should be saved in a predictable location within the repository. When team members need to find requirements, they should know exactly where to look without searching.

Incorrect

<!-- Bad: PRDs scattered across the project -->
/README.md                          (PRD buried in README)
/notes/url-shortener-idea.md        (informal notes directory)
/docs/random-feature.md             (generic docs folder)
~/Desktop/prd-draft-v3-final2.md    (local machine)
Google Docs link in Slack            (external, not versioned)

Problems:

  • No consistent location — everyone guesses differently
  • Not version-controlled with the code
  • External docs get lost or go stale
  • Multiple copies with unclear which is current
  • New team members can't find existing PRDs

Correct

<!-- Good: consistent, discoverable location -->
/docs/prd/
├── url-shortener.md
├── analytics-dashboard.md
├── user-management.md
└── notification-system.md

# Alternative: organized by epic
/docs/prd/
├── core/
│   ├── url-shortener.md
│   └── redirect-engine.md
├── analytics/
│   ├── click-tracking.md
│   └── dashboard.md
└── admin/
    ├── user-management.md
    └── app-settings.md

Naming convention: kebab-case.md matching the feature name.

File header:

---
title: URL Shortener
status: approved | draft | deprecated
author: Asyraf Hussin
created: 2026-03-24
updated: 2026-03-24
---

Benefits:

  • ls docs/prd/ shows all product requirements at a glance
  • Version-controlled alongside the code it describes
  • Status field prevents confusion about which PRDs are current
  • Git blame shows who wrote and modified each section

Why

  1. Discoverability: New team members find all PRDs in one place
  2. Version control: PRD changes are tracked in git history
  3. Co-location: Requirements live next to the code they describe
  4. Single source of truth: No competing copies in Slack, Google Docs, or Notion

Source: SKILL.md on GitHub

No alerts16d4 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill provides a structured workflow and comprehensive best practices for writing Product Requirements Documents (PRDs). It guides the agent through discovery, stakeholder alignment, and technical specification drafting. No malicious code, exfiltration patterns, or injection attempts were found.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at eaaf04f. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 6 months ago
metadata
{
  "author": "agent-skills",
  "version": "1.0.0"
}

README badge

README badge for asyrafhussin/agent-skills/prd-writing