Draft a grounded engineering, documentation, or quantitative specification section-by-section with human decision checkpoints and deterministic standards compliance, producing design_spec.md.
Install
npx skillscat add jimkrider/trip-sitter/trip-draft Install via the SkillsCat registry.
Grounded Specification Drafting (/trip-draft)
Run this skill to turn an approved concepts_brief.md (or raw notes) into a crisp, verifiable specification (design_spec.md) built to pass both Key 1 deterministic checks and Key 2 blind review on the first run.
Applicable Standards
Load the matching standard(s) from ../../resources/standards/ before drafting:
- Architecture & technical documentation: architecture-spec.md
- Quantitative, metric & benchmark models: quantitative-spec.md
- Implementation & rollout plans: implementation-plan.md
- Optional domain packs (when relevant): packs/finance-crypto.md
Execution Protocol
Step 1: Verify Ground Truth Before Writing
Before citing any file path, script, CLI flag, schema column, or existing pipeline in the draft, verify it directly against the repository on disk. Never invent placeholder paths or unverified formulas.
Step 2: Enforce Deterministic Authoring Rules
Every section of design_spec.md must obey:
- Zero LLM Mental Math: Every calculated metric, ratio, or benchmark specifies its exact deterministic script, query, or reproducible command and primary data source (
As_Of_Datevintage). - Zero Stubs: Ban
TBD,TODO,FIXME, andPLACEHOLDERtokens; if a decision is unresolved, pause and ask the human before continuing. - Clean Tables & Concise Prose: Avoid cramming multiple unrelated numbers into one slash-separated table cell, keep paragraphs concise (
<= 120words), and follow key tables with2-4scannable bold-lead-in takeaways. - Explicit Ownership, Security & Rollback: Name the single writer for every persisted store, define trust/auth boundaries, and specify exact verification commands and rollback steps.
Step 3: Section-by-Section Checkpoints
Draft design_spec.md iteratively in logical blocks (Overview & Non-Goals -> Data/Model Contracts & Provenance -> Architecture, Security & Ownership -> Verification & Rollback), pausing briefly after major trade-offs for user alignment.
Step 4: Self-Run Key 1 Pre-Check & Handoff
- Run
python3 <plugin-root>/scripts/grounding_check.py --audit-doc design_spec.md --repo-root <target-repo>(../../scripts/grounding_check.pyrelative to this skill) and fix any deterministic Key 1 failures immediately. - Hand back the file link and recommend running
/trip-check design_spec.mdto execute the blind 5-channel audit.