mcpField

hackathon-doc-writer

github.com/bernieweb3Documents42 installs
Repository

About hackathon-doc-writer

A skill for producing structured ADRs, PRDs, and feature specifications for hackathon projects. It uses the matching shared template and flags sections that remain incomplete.

Key features

  1. 01Generates ADRs, PRDs, and feature specs
  2. 02Uses matching shared templates
  3. 03Marks missing sections as TBD
  4. 04Requires testable feature acceptance criteria

Use cases

  1. 01Documenting a locked MVP scope
  2. 02Recording an architecture decision
  3. 03Specifying a feature before implementation

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/bernieweb3/hackathon-ai-devkit --skill hackathon-doc-writer

After installing, type/hackathon-doc-writerin Claude Code to confirm it loaded.

Details

From the project README

hackathon-doc-writer

Goal

Generate structured technical documentation artifacts (ADR, PRD, feature specs) for a hackathon project using the appropriate template.


Trigger Conditions

Use this skill when:

  • MVP scope is locked and needs to be documented in a PRD
  • An architectural decision has been made that should be recorded in an ADR
  • A specific feature needs a formal spec before implementation begins
  • Invoked during Phase 4 (Project Planning), after hackathon-scope-cutter completes
  • Can be re-invoked any time a new architectural decision is made during implementation

Inputs

InputTypeRequiredDescription
document_typeenumYesOne of: ADR, PRD, feature-spec
project_titlestringYesName of the project
problem_statementstringYesCore problem being solved
mvp_featuresstring[]YesMVP feature list from hackathon-scope-cutter
tech_stackstring[]YesTechnologies being used
architecture_decisionsobject[]NoFor ADR: list of decisions with context and rationale
feature_namestringNoFor feature-spec: name of the specific feature
constraintsstring[]NoTechnical or product constraints

Outputs

OutputDescription
documentFully populated document in Markdown
document_typeType of document generated
missing_fieldsSections that could not be completed due to missing input

Rules

  1. Use the corresponding template from ../hackathon-shared-resources/templates/ directory as the output structure.
  2. Do not omit any section from the template; use [TBD] for missing information.
  3. Keep language direct and scannable — no filler paragraphs.
  4. For ADR: capture exactly one architectural decision per document.
  5. For PRD: include success metrics even if they are estimates.
  6. For feature-spec: include acceptance criteria as testable conditions.
  7. Flag all [TBD] sections in missing_fields output.

Output Format

document_type: "<ADR|PRD|feature-spec>"

missing_fields:
  - "<section name>"

document: |
  <Full Markdown document content>

Example

Input:

document_type: "ADR"
project_title: "AnchorAI"
problem_statement: "How might we provide always-available emotional support for college students?"
mvp_features:
  - "GPT-4 emotional check-in conversation"
  - "Session memory"
tech_stack: ["Python", "FastAPI", "React", "OpenAI API", "Redis"]
architecture_decisions:
  - title: "Session memory storage"
    context: "Need to persist conversation summaries between sessions"
    options: ["Redis (in-memory)", "SQLite (file)", "OpenAI conversation history API"]
    decision: "Redis"
    rationale: "Fastest to set up; sufficient for demo; team familiar with it"

Output:

document_type: "ADR"
missing_fields: []
document: |
  # ADR-001: Session Memory Storage

  **Date:** 2025-06-14
  **Status:** Accepted

  ## Context
  AnchorAI must recall emotional context from past user sessions to deliver its core wow factor.
  Memory must persist across browser refreshes for the demo.

  ## Decision
  Use Redis as an in-process session store keyed by a hardcoded demo user ID.

  ## Consequences
  - Positive: Setup takes <30 minutes; team knows Redis well
  - Negative: Data is lost on server restart; not production-ready
  - Risk: Redis unavailable on demo machine → mitigation: fallback to in-memory dict

Context Files

Knowledge Base
  • ../hackathon-shared-resources/knowledge/hackathon-reference-architecture.md
  • ../hackathon-shared-resources/knowledge/hackathon-mvp-strategy.md
Templates
  • ../hackathon-shared-resources/templates/ADR-template.md
  • ../hackathon-shared-resources/templates/PRD-template.md
  • ../hackathon-shared-resources/templates/feature-spec-template.md
Playbooks
  • ../hackathon-shared-resources/playbooks/hackathon-workflow.md

Comments

Markdown supported