active/spec-template/SKILL.md
Turn an existing concrete spec into a reusable generic spec template. Use when asked to create a generic spec, template spec, reusable implementation template, or generalized version of a spec from a specific implementation such as one plugin, channel, integration, feature, or PR.
npx skillsauth add kevinslin/skills spec-templateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to convert a specific implementation spec into a reusable template that can guide future implementations of the same pattern.
Good fits:
Resolve the source and destination.
../mem/SKILL.md before choosing the output path.Read the concrete source and its anchors.
Separate invariant pattern from instance details.
Draft the generic template.
<channel>, <plugin>, <capability>, <provider>, <config key>, <approval action>, or <proof artifact>.Add example linkage.
Review for template quality.
## Manual Notes section in an existing destination document exactly.Prefer this structure unless the destination has an existing spec format:
# <Generic Capability> Spec Template
## Purpose
What this template helps implement.
## When To Use
Signals that this template applies.
## Inputs
- `<source spec>`:
- `<target implementation>`:
- `<owner surface>`:
## Required Contracts
The invariant API, config, runtime, state, and ownership contracts.
## Implementation Template
Step-by-step generic implementation plan with replaceable slots.
## Verification Template
Required automated, manual, integration, and proof checks.
## Rollout And Safety
Config gates, compatibility, privacy/security, failure modes, and rollback.
## Worked Example
Concrete source spec or PR used to derive this template.
## Manual Notes
[keep this for the user to add notes. do not change between edits]
## Changelog
- [YYYY-MM-DD HH:MM]: Created template from `<source>`. ([agent session id] - (current git sha))
When asked to create a generic template from a specific spec, use this internal prompt shape:
Read the concrete spec and any minimal supporting source/proof needed. Create a
generic spec template for implementing the same kind of capability in another
surface. Extract invariant contracts and required verification from the source,
replace implementation-specific details with named slots, keep the original as a
worked example, and call out details that should not be copied blindly.
development
Generate incremental Slack digests for channels, topics, and categories.
testing
Audit an OpenClaw maturity-scorecard surface into an evidence-backed component score report. Use when given a surface from an OpenClaw maturity-scorecard.md and asked to score coverage, quality, readiness, or generate a detailed surface report plus per-component subreports.
data-ai
Trace how something works with an investigator subagent and a skeptical reviewer subagent.
development
Write or review high-quality OpenClaw developer documentation.