Index of every page on this site: llms.txt
All skills
bity-labs avatar

/write-prd

@b53bf0f
by bity labsbity-labs/tstack9 stars
Run it yourself

Turn the current clarified context into a PRD and publish it as a GitHub issue. Use when the idea or feature is understood and ready to be specified.

  • 1 file
  • 2.6 KB
  • Updated 5 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/bity-labs/tstack/write-prd

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈40 tokens for metadata: the name and description. ≈628 when used: this file.

Description uses 2.0% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈161 characters, or 2.0%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Write PRD

Turn the current conversation, project context, and codebase understanding into a PRD published as a GitHub issue.

Do not restart discovery. Do not interview the user again unless a blocking ambiguity makes the PRD impossible to write.

Use the project language from:

  • docs/context.md
  • docs/adr/
  • relevant code when needed

Process

  1. Review the current conversation and resolved decisions.
  2. Read the relevant project context and ADRs.
  3. Inspect the codebase only enough to understand current behavior and likely affected areas.
  4. Draft the PRD using the template below.
  5. Create the prd label in the target repository if it does not exist.
  6. Publish the PRD as a GitHub issue with the prd label.
  7. Report the issue link and recommend the next step: break-into-issues.

PRD Template

Problem Statement

Describe the problem from the user's point of view.

Solution

Describe the intended solution from the user's point of view.

User Stories

List the user-visible behaviors this PRD should support.

Use this format when useful:

As a <actor>, I want <capability>, so that <benefit>.

Acceptance Criteria

Define what must be true for the PRD to be considered complete.

Focus on observable behavior.

Implementation Notes

Capture relevant technical direction without over-specifying stale details.

Include:

  • modules or areas likely to change
  • important interfaces or contracts
  • schema or data model implications
  • architecture constraints
  • decisions already made

Avoid file-level implementation instructions unless they are essential.

Testing Notes

Describe how this should be validated.

Include:

  • behaviors that need test coverage
  • existing test patterns to reuse
  • boundaries where mocks or fakes may be appropriate

Out of Scope

List what this PRD explicitly does not include.

Further Notes

Capture useful context that does not fit elsewhere.

GitHub Issue

Resolve the target repository before mutating GitHub:

<owner/repo>

Create the label first if it does not exist in the target repository:

gh label create prd --repo <owner/repo> --description "Parent PRD issue" --color 0E8A16 2>/dev/null || true

Create the issue with the prd label:

gh issue create --repo <owner/repo> --label prd --body-file <prd-body-file>

Stop Condition

Stop when the PRD issue exists.

End with:

  • PRD issue link
  • short summary
  • recommended next step: break-into-issues

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

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

Last checked against GitHub last month.

Activeupdated 5 months ago

README badge

README badge for bity-labs/tstack/write-prd