analyzing-options
Analyzing different approaches for a task or problem with structured comparisons, effort…
Writing a Product Requirements Document that explains to the squad WHAT is being built and WHY: problem, explicit scope in/out, functional requirements, and testable acceptance criteria. Gate 1 of ring:using-pm-team; runs after ring:researching-features and stays technology-free
$ npx -y skills add LerianStudio/ring --skill writing-prds --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/writing-prdsContext preview
The summary Claude sees to decide when to auto-load this skill.
Writing a Product Requirements Document that explains to the squad WHAT is being built and WHY: problem, explicit scope in/out, functional requirements, and testable acceptance criteria. Gate 1 of ring:using-pm-team; runs after ring:researching-features and stays technology-free
name: ring:writing-prds description: "Writing a Product Requirements Document that explains to the squad WHAT is being built and WHY: problem, explicit scope in/out, functional requirements, and testable acceptance criteria. Gate 1 of ring:using-pm-team; runs after ring:researching-features and stays technology-free (no architecture, frameworks, or schemas). Use when starting a new feature or asked to plan or produce requirements. Skip when a validated PRD exists, for pure technical changes, or bug fixes."
**Runs after:** ring:researching-features (Gate 0) **Runs before:** ring:mapping-feature-relationships (Gate 2, Large track) or ring:writing-trds (Gate 2, Small track)
The PRD is a squad-facing explanation of the product/feature being built: what it does, why it exists, what is in and out of scope, and how the squad knows it's done. It never answers HOW to build it (that's TRD) or WHERE components will live.
| Phase | Activities | |-------|------------| | **0. Load Research** | Check `docs/pre-dev/{feature}/research.md`; reference codebase patterns and findings with `file:line` notation | | **1. Problem Definition** | State the problem without solution bias; explain why it matters now; cite evidence from research.md | | **2. Requirements** | Executive summary (3 sentences); functional requirements (WHAT the feature does); testable acceptance criteria per requirement; explicit scope boundaries (in/out) | | **3. Gate 1 Validation** | Problem articulated; requirements address problem; acceptance criteria testable; scope explicit; zero technology content |
**Separation rules:**
| Question | If Yes → Document | |----------|-------------------| | Feature handles user-specific data? | "Users can only access their own [data type]" | | Different user roles with different permissions? | "Admins can [X], regular users can [Y]" | | Need to identify who performed an action? | "Audit trail required for [action type]" | | Integrates with other internal services? | "Service must authenticate to [service name]" | | Regulatory requirements? | "Must comply with [regulation] for [data type]" |
Include: "Only authenticated users can access", "Users can only view/edit their own records", "Admin approval required for [action]" Exclude: JWT tokens, Access Manager integration, OAuth2 flow — these go in TRD.
For features involving data that accumulates over time (transactions, events, operations), ask:
AskUserQuestion: "Will an operator need a consolidated view of this feature's data to make decisions?"
**If "Yes":** Document in PRD under "Dashboard Requirements": who consumes it, decisions supported, key data shown, refresh cadence.
| Category | Requirements | |----------|--------------| | **Problem Clarity** | Problem stated without solution; why-now explained; grounded in research.md | | **Requirements** | Every requirement describes observable behavior; acceptance criteria testable; all requirements trace to the problem | | **Scope** | In-scope features explicit; out-of-scope stated; boundaries clear | | **Technology-Free** | Zero technology names; zero implementation details; zero framework mentions |
**Gate Result:** ✅ PASS → next gate | ❌ FAIL (re-work technical content or missing requirements)
**File:** `docs/pre-dev/{feature}/prd.md`
After Gate 1 passes: Large track → `ring:mapping-feature-relationships` (Gate 2); Small track → `ring:writing-trds` (Gate 2). If the feature has UI, the orchestrator may recommend a standalone product-designer + `ring:validating-ux-completeness` run before the TRD (optional, not a gate).
Proven engineering practices, enforced through skills. Ring is a comprehensive skills library and workflow system for AI agents that transforms how AI assistants approach software development.
Repo: LerianStudio/ring
Analyzing different approaches for a task or problem with structured comparisons, effort…
Auditing a service's production readiness against Ring engineering standards across base…
Cleaning redundant and obvious comments following clean code principles while preserving…
Commit changes with scope allowlist enforcement, atomic grouping, GPG-signed conventional…
Creating a handoff document that captures session state (completed work, decisions, open…
Creating an isolated git worktree for parallel branch work: selects the directory by priority…