Source profileQuality 91/100Review permissions

whiteguo233/OpenBiliClaw/.claude/skills/writing-specs/SKILL.md

writing-specs

Use when authoring a spec or implementation plan, or planning multi-task work.

Source repository stars
3,023
Declared platforms
0
Static risk flags
1
Last source update
2026-08-24
Source checked
2026-08-25

Decision brief

What it does: where it fits

Produce an authoritative design spec and an executable implementation plan before changing code. Resolve every placeholder against the live repository.

Best for

  • Use when authoring a spec or implementation plan, or planning multi-task work.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/whiteguo233/OpenBiliClaw --skill ".claude/skills/writing-specs"
Safe inspection promptEditorial

Inspect the Agent Skill "writing-specs" from https://github.com/whiteguo233/OpenBiliClaw/blob/3d0889e6f29bf2c47f57a430d4f087f0f17bbff7/.claude/skills/writing-specs/SKILL.md at commit 3d0889e6f29bf2c47f57a430d4f087f0f17bbff7. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Design invariants (MUST hold in every phase)

    : .

    : .
  2. 02

    Phase designs

    Define interfaces, algorithms, error behavior, tests, rollout, and numeric acceptance gates.

    Define interfaces, algorithms, error behavior, tests, rollout, and numeric acceptance gates.
  3. 03

    Phase 0 —

    Define interfaces, algorithms, error behavior, tests, rollout, and numeric acceptance gates.

    Define interfaces, algorithms, error behavior, tests, rollout, and numeric acceptance gates.
  4. 04

    — Implementation Plan

    For Claude: REQUIRED SUB-SKILL: superpowers:executing-plans (execute this plan task-by-task). Spec: YYYY-MM-DD--spec.md Status: Execution order: Tech:

    [ ] Write one focused failing test for .[ ] Run and confirm FAIL for the intended missing behavior.[ ] Add the minimal implementation needed for that test.
  5. 05

    Verification after merge

    State the production/shadow/canary observation, commands, owner, duration, and rollback trigger.

    State the production/shadow/canary observation, commands, owner, duration, and rollback trigger.

Permission review

Static risk signals and limitations

Runs scripts

medium · line 102

The documentation asks the agent to run terminal commands or scripts.

[ ] Run `<focused test command>` and confirm FAIL for the intended missing behavior.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score91/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars3,023SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
whiteguo233/OpenBiliClaw
Skill path
.claude/skills/writing-specs/SKILL.md
Commit
3d0889e6f29bf2c47f57a430d4f087f0f17bbff7
License
MIT
Collected
2026-08-25
Default branch
main
View the original SKILL.md

Write Specs and Plans

Produce an authoritative design spec and an executable implementation plan before changing code. Resolve every placeholder against the live repository.

Name and commit the pair first

Create both documents with the same dated slug:

  • docs/plans/YYYY-MM-DD-<slug>-spec.md
  • docs/plans/YYYY-MM-DD-<slug>-plan.md

Commit the pair as docs: add <feature> spec and plan before implementation. Do not mix code into this docs-first commit.

SPEC skeleton

# <Feature> Spec — <measurable outcome>

**Created:** YYYY-MM-DD
**Scope:** <affected behavior, modules, and integrations>
**Out of scope:** <explicit non-goals>

## Goal

State the current cost or failure, quantified target outcomes, and the exact commands that
verify them.

## Design invariants (MUST hold in every phase)

1. **<Invariant name>:** <falsifiable rule and verification surface>.
2. **<Invariant name>:** <falsifiable rule and verification surface>.

## Current diagnosis

### D1. <Observed problem>

Record evidence at `path/to/file.py:line`; distinguish confirmed facts from hypotheses.

### D2. <Observed problem>

Record the caller, data flow, failure mode, and existing test coverage with `file:line` evidence.

## Priority classification

| Phase | Content | Tier | Why |
| --- | --- | --- | --- |
| 0 | <gate or prerequisite> | **MUST** | <risk it controls> |
| 1 | <main change> | RECOMMENDED | <measured leverage> |

List dependencies, then group work into **Wave A**, **Wave B**, and later waves by risk and
dependency. State what can ship independently and where work may safely stop.

## Phase designs

### Phase 0 — <name>

Define interfaces, algorithms, error behavior, tests, rollout, and numeric acceptance gates.

## Expected impact

| Lever | Measured effect |
| --- | --- |
| <phase> | <quantified result> |

## Documentation obligations

List every module doc, changelog, architecture diagram, CLI/config reference, installer doc,
and README surface triggered by the design.

Every invariant must be testable, every diagnosis must cite live code, and every claimed improvement must have a reproduction command.

PLAN skeleton

# <Feature> — Implementation Plan

> **For Claude:** REQUIRED SUB-SKILL: superpowers:executing-plans (execute this plan task-by-task).
> **Spec:** [`YYYY-MM-DD-<slug>-spec.md`](./YYYY-MM-DD-<slug>-spec.md)
> **Status:** <revision and review state>
> **Execution order:** <dependency-ordered tasks and Wave grouping>
> **Tech:** <runtime, interpreter, focused tests, lint, format, and type-check commands>

**Invariants that MUST hold — re-read before each task:**

- <Restate the spec's invariant without weakening it.>
- <Restate the spec's invariant without weakening it.>

### Task N: <single deliverable>

**Files:** Add/modify/test exact paths.

**Interfaces:** Consumes: <inputs/dependencies>. Produces: <outputs/contracts>.

**Steps:**

- [ ] Write one focused failing test for <behavior>.
- [ ] Run `<focused test command>` and confirm FAIL for the intended missing behavior.
- [ ] Add the minimal implementation needed for that test.
- [ ] Rerun `<focused test command>` and confirm PASS with no warnings.
- [ ] Run the touched regression tests, lint/format checks, and MyPy command.

**Acceptance:**

- Numeric gate: <metric, comparator, threshold, sample size, and failure meaning>.
- Reproduce with `<exact command>`; record the result in the PR.

## Verification after merge

State the production/shadow/canary observation, commands, owner, duration, and rollback trigger.

## Explicitly out of scope

- <non-goal>

Keep the handoff line and checkbox steps verbatim so superpowers/GSD execution conventions remain discoverable. Restate every spec invariant at the plan top and require the executor to re-read them before each task.

Quantified-gate example

For a model-visible profile reduction, a concrete gate is: admission flip rate ≤ 3% and Spearman rank correlation ≥ 0.95 on at least 100 aligned candidates, verified by scripts/run_profile_diet_ab.py. The command, dataset provenance, baseline commit, and observed values belong in the spec and the task acceptance block—not only in a PR comment.

Use docs/plans/2026-07-05-llm-token-diet-spec.md as a reference for quantified invariants, D1..Dn diagnosis, risk Waves, phase designs, impact, and documentation obligations.

Frequently asked questions

What to verify before installation and use

What does the writing-specs source document cover?

Produce an authoritative design spec and an executable implementation plan before changing code. Resolve every placeholder against the live repository.

How do I install writing-specs?

The source record exposes this install command: npx skills add https://github.com/whiteguo233/OpenBiliClaw --skill ".claude/skills/writing-specs". Inspect the command and pinned source before running it.

Which permission-related actions were detected?

Static rules flagged exec-script in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing

Computed 100147

oaustegard/claude-skills

featuring

Generate hierarchical _FEATURES.md files that describe what a codebase DOES from a user/consumer perspective, anchored to source symbols via tree-sitting. Supports large complex codebases through feature-driven decomposition into sub-feature files. Uses a multi-pass synthesis: orientation → detail → overview rewrite. Use when someone says "what does this do", "document features", "feature inventory", "_FEATURES.md", or needs to understand a codebase's purpose before modifying it. Complements tre

Computed 9916

NintendaDev/unikit-ai

unikit-docs

Generate and maintain the project's TECHNICAL documentation from its codebase — scans the project structure, tech stack, and module boundaries, then writes a lean README landing page plus detailed topic pages (architecture, modules, setup, build, APIs), only the docs that are relevant. Use whenever the user wants to create, update, or validate documentation of the CODE or the project itself, e.g. "generate documentation", "create docs", "write the README", "update the project docs", "document th

Computed 9824,921

alirezarezvani/claude-skills

quality-manager-qms-iso13485

ISO 13485 Quality Management System implementation and maintenance for medical device organizations. Provides QMS design, documentation control, internal auditing, CAPA management, and certification support. Use when working with medical device quality systems, preparing for ISO 13485 audits, managing regulatory compliance documentation, setting up corrective actions, or building audit preparation programs. Useful for quality management, audit preparation, regulatory compliance, medical device d

Computed 982,672

compozy/compozy

bubbletea

Build terminal user interfaces with Go and Bubbletea framework. Use when creating TUI apps with the Elm architecture, dual-pane layouts, accordion modes, mouse/keyboard handling, Lipgloss styling, and reusable components. Includes production-ready templates, effects library, and battle-tested layout patterns from real projects. Don't use for plain-text CLI scripts without an interactive UI, web/desktop GUIs, or non-Go terminal frameworks (Ink, Textual, Ratatui).