All skills
simota avatar

/scribe

@35ffd55
by shingo imotasimota/agent-skills85 stars
15

Authoring standalone and cross-team specifications: PRD/SRS/HLD/LLD, staged L0-L4 unified packages, BDD acceptance criteria, and traceability. Use for technical or multi-audience documentation; not implementation or architecture decisions.

Use this Skill: https://skilld.dev/gh/simota/agent-skills/scribe

This session only. Nothing lands on disk.

referencedocumentation-calibration.md

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

Documentation Calibration System (INSCRIBE)

Purpose: Use this file after document creation or during periodic review to improve template choice, handoff quality, and requirement precision.

Contents:

  • RECORD
  • EVALUATE
  • CALIBRATE
  • PROPAGATE
  • Ecosystem integration

Overview

RECORD -> EVALUATE -> CALIBRATE -> PROPAGATE

INSCRIBE closes the loop between document creation and downstream implementation outcomes. Use it to measure whether Scribe outputs were adopted, accurate, and actionable.

RECORD

After each document, record:

Document: [document-id]
Type: [PRD | SRS | HLD | LLD | Impl Checklist | Test Spec | Review Checklist]
Feature: [feature name]
Requirements_Count: [count]
Acceptance_Criteria_Count: [count]
Template_Used: [full | minimal]
Sections_Included: [list]
Quality_Checklist_Score:
  structure: [pass | partial | fail]
  content: [pass | partial | fail]
  testability: [pass | partial | fail]
  traceability: [pass | partial | fail]
Downstream_Handoff: [Sherpa | Builder | Radar | Voyager | Judge | None]

Track at minimum:

  • specification adoption
  • requirement completeness
  • template effectiveness
  • document accuracy
  • handoff quality
  • revision frequency

EVALUATE

Adoption Rate

Documents Referenced by Downstream Agents / Total Documents Created

Range Interpretation Action
> 0.85 High-impact documentation Keep current approach.
0.60-0.85 Moderate adoption Review handoff format and audience fit.
< 0.60 Low adoption Revisit usefulness, scope, and information density.

Requirement Accuracy

Requirements Implemented as Specified / Total Requirements

Range Interpretation Action
> 0.90 Excellent Preserve the pattern.
0.75-0.90 Good Tighten ambiguous areas.
< 0.75 Weak Rework clarity and testability.

Common Evaluation Triggers

  • Builder requests clarification
  • Radar cannot derive tests from the spec
  • Shipped feature diverges from the document
  • The same spec is revised multiple times
  • Quarterly documentation review

CALIBRATE

Rules

  1. Wait for 3+ documents before changing effectiveness scores.
  2. Limit changes to ±0.15 per cycle.
  3. Decay adjustments by 10% per quarter toward defaults.
  4. Explicit user or project preferences override calibrated defaults.

Pattern Effectiveness

Pattern Adoption Impact Best For
REQ-XXX IDs High All document types
Given-When-Then acceptance criteria High PRD, SRS, Test Spec
IMPL-XXX with I/O contract High Implementation checklists
Inline diagrams Medium HLD, SRS
Traceability matrix Medium Multi-document work
Minimal templates High Small enhancements and bug fixes

Document Size Calibration

Document Type Default Size Calibrated Range Guidance
PRD (full) 200-400 lines 150-350 lines Shorter docs increased adoption.
PRD (minimal) 30-80 lines 40-80 lines Under 40 lines often missed edge cases.
SRS 200-500 lines 200-400 lines Over 400 lines reduced read-through.
HLD 150-300 lines 100-250 lines Prefer diagrams over prose.
LLD 200-400 lines 200-350 lines Add code-shaped examples only when clarifying a design choice.
Test Spec 100-300 lines 100-250 lines Tables outperform prose for execution.

PROPAGATE

Record reusable findings in .agents/scribe.md:

## YYYY-MM-DD - INSCRIBE: [Document Type]

**Documents assessed**: N
**Overall adoption rate**: X%
**Key insight**: [description]
**Calibration adjustment**: [template/pattern: old -> new]
**Apply when**: [future scenario]
**reusable**: true

<!-- EVOLUTION_SIGNAL
type: PATTERN
source: Scribe
date: YYYY-MM-DD
summary: [documentation insight]
affects: [Scribe, Sherpa]
priority: MEDIUM
reusable: true
-->

Quick rule for small documents:

  • If a document has fewer than 3 requirements, record observations but do not recalibrate weights from that document alone.

Ecosystem Integration

Signal Action
Adoption improving Keep template selection and writing pattern.
Adoption degrading Rework template density, audience alignment, or handoff structure.
Template repeatedly underperforming Prefer an alternative template for that context.
High requirement accuracy Propagate the pattern to Lore.
Low downstream usage Adjust detail level or handoff completeness.
Reusable documentation pattern Emit EVOLUTION_SIGNAL and share with Lore or Sherpa.

Agent-Consumed Specs and Spec-Kit Output (SKILL.md excerpt)

  • When the spec will be consumed by AI agents, follow the AGENTS.md convention (stewarded by the Agentic AI Foundation under the Linux Foundation, founded by Anthropic, OpenAI, and Block) [Source: agents.md — AGENTS.md Specification (https://agents.md/)]: structure around Commands (full executable commands with flags), Testing (framework, file locations, coverage expectations), Project Structure (explicit directory mapping), Architecture, Security, and Conventions. Adopted by 60,000+ open-source projects since August 2025, these six areas are confirmed as highest-signal for agent effectiveness. Target ≤ 150 lines — long specs bury signal and exceed agent context budgets. Treat agent specs as executable artifacts (spec-driven development): the spec defines the contract, the agent generates code that honors it, and the spec evolves as decisions are made.

  • Emit Spec-Kit-compatible artefacts when the requested deliverable will feed an executable-spec pipeline. Match the GitHub Spec-Kit layout (spec/, plan/, tasks/) and the /speckit.specify / /speckit.plan / /speckit.tasks / /speckit.implement phase contract. PRD → spec/<feature>.md; HLD → plan/<feature>.md; LLD checklist → tasks/<feature>.md. This keeps the documents consumable by Claude Code, Cursor, Copilot, and 29+ Spec-Kit-aware clients without translation. [Source: github.com/github/spec-kit]

Source: SKILL.md on GitHub

1 warning13d5 checks · Risk SAFE
  • Gen Agent Trust Hub13d

    No security issues were detected. The skill is designed for authoring technical specifications and documentation. It integrates standard format conversion tools and follows industry best practices for requirements engineering and AI-agent compatibility.

  • Socket13d

    No alerts

  • Snyk13d

    Risk: LOW · No issues

  • Runlayer6mo

    1/8 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

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

Last checked against GitHub 3 days ago.

Activeupdated 2 weeks ago

README badge

README badge for simota/agent-skills/scribe