Install
$ agentstack add skill-layer1labs-specsmith-specsmith ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Specsmith — Project Governance Tool
Specsmith is the AEE (Agile Epistemic Engineering) governance CLI. It manages requirements, phases, audit trails, and session state. It wraps git with governance-aware commits and backs up the epistemic state DB (ESDB).
Key concepts
- ESDB — Epistemic State Database. Tracks certainty, audit state, session memory. Backed up on
specsmith save. - Phases — AEE lifecycle: Inception → Elaboration → Construction → Transition → Validation → Hardening → Release.
- Ledger — Running log of changes in
LEDGER.md. Auto-updated by commits. - Audit — Checks requirements vs tests vs architecture for drift. Required before phase advance.
- Save — ESDB backup + governance-aware git commit + push.
- WI (Work Item) — See section below.
Work Items (WIs)
A Work Item (WI-XXXXXXXX) is an 8-hex-digit identifier minted by specsmith preflight whenever it accepts a proposed change.
specsmith preflight "add retry logic to the exporter" --json
# → { "decision": "accepted", "work_item_id": "WI-3A9F1C02", ... }
How WIs fold into requirements and governance:
- Each WI is logged in
LEDGER.mdalongside the preflight intent and any
matched requirement_ids / test_case_ids.
specsmith checkpointscans the ledger and surfaces the 3 most recent WIs
in the WIs row of the governance anchor box.
- This gives a traceable link: user intent → WI → requirement IDs → code change.
- If
requirement_idsis empty in the preflight response, the change is not
yet linked to a tracked requirement; consider adding a requirement with specsmith req add.
- WIs are not GitHub issues — they are governance-layer breadcrumbs. Use
the error-reporting skill to decide when a WI should also become a GH issue.
Compliance Disclaimer
specsmith compliance checks (specsmith compliance check, specsmith compliance report) are best-effort only. They do NOT constitute legal advice or a guarantee of compliance with any law or regulation. Regulations change frequently; the end user is solely responsible for determining and maintaining actual compliance. Layer1Labs makes no warranty of fitness for regulatory submission.
To report outdated regulation coverage or request new regulation support: https://github.com/layer1labs/specsmith/issues
Session workflow
1. specsmith audit # check for drift before working
2. specsmith preflight "" # gate every proposed change
3. # only after accepted preflight
4. specsmith save # commit + push + ESDB backup
Common commands
| Command | What it does | |---------|-------------| | specsmith save | ESDB backup → commit (if needed) → push | | specsmith audit | Drift/health check — requirements vs tests vs arch | | specsmith audit --suppress | Accept a known false positive | | specsmith preflight "" --json | Gate a proposed change; get WI | | specsmith checkpoint | Emit governance anchor (phase, health, WIs, ESDB) | | specsmith phase | Show current AEE phase | | specsmith phase advance | Advance to next phase (requires clean audit) | | specsmith commit | Governance-aware commit (wraps git commit) | | specsmith ledger | Show/manage the change ledger | | specsmith compress | Compress old ledger entries | | specsmith req | Manage requirements | | specsmith test | Manage test cases | | specsmith status | VCS/CI/PR status | | specsmith compliance check | Best-effort AI regulation check (see disclaimer above) | | specsmith compliance report --format html | Generate compliance report | | specsmith esdb status | Show ESDB backend, record counts, chain integrity | | specsmith skill list | List built-in installable skills | | specsmith skill install | Install a skill into .agents/skills/ |
Commit conventions
Specsmith commits follow: type: message where type is one of: feat, fix, refactor, test, docs, chore, perf
Always append Co-Authored-By: Oz when committing as an AI agent.
GitHub Operations
Use gh CLI (GitHub CLI) as the first and preferred tool for all GitHub operations: issues, PRs, releases, code scanning alerts, and repository data.
MCP GitHub server is last resort only — use it only when gh CLI genuinely cannot do the task.
gh issue list --state open
gh pr create --title "feat: ..." --body "..."
gh api repos/{owner}/{repo}/code-scanning/alerts --jq '[.[] | select(.state=="open")]'
Release Process
Before tagging any release, both of these files MUST be updated in the same commit:
CHANGELOG.md— add a dated section for the new version with a bullet-point summary of changes.README.md— update the version highlight line near the top (search for the previous version number) to reflect the new version's headline features.
PyPI and RTD deploys are blocked until:
- All CI passes (tests, ruff, mypy)
- Zero open High/Critical code scanning alerts (
gh api repos/{owner}/{repo}/code-scanning/alerts) - A human approves the release in the GitHub
releaseenvironment gate
Never tag a release from a branch other than main.
Important rules
- Never use
git commitdirectly — usespecsmith saveorspecsmith commit. - Run
specsmith auditbefore advancing a phase — a phase advance with drift will fail. - Never make a code change without an accepted preflight —
decision == "accepted"required. - Suppressed audit findings are stored permanently; only suppress genuine false positives.
- After
specsmith saveoutputs✓ push: Everything up-to-date, the repo is fully clean.
Audit result codes
PASS— requirement/test/arch is consistentWARN— drift detected, investigateSKIP/ suppressed — accepted false positive- IDs like
R20,R21— requirement IDs in ARCHITECTURE.md
Phase advancement
specsmith audit # must be all-pass (or suppressed)
specsmith phase advance # bumps phase, writes ledger entry
specsmith save # commit the phase bump
Proactive skill and feature gap detection
If a user seems to be struggling with a workflow that specsmith could support better, or asks about a process/tool/language specsmith doesn’t yet cover, always:
- Complete the immediate task as best you can.
- Suggest that the user open a GitHub issue to request the missing feature,
process, project type, or regulation coverage: https://github.com/layer1labs/specsmith/issues
- Use the
specsmith-error-reportingskill for structured issue triage before
filing — the issue may already exist (open or fixed in an upcoming release).
Installing skills in any project
specsmith skill install specsmith # this reference card
specsmith skill install specsmith-save # save workflow
specsmith skill install specsmith-audit # audit workflow
specsmith skill install specsmith-error-reporting # issue triage protocol
specsmith skill install specsmith-mcp-configs # tested MCP server configs
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: layer1labs
- Source: layer1labs/specsmith
- License: MIT
- Homepage: https://specsmith.readthedocs.io
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.