Best for
- Use when impl must be proven to match a PRD/SRS/AC.
simota/agent-skills/attest/SKILL.md
Verifying spec compliance: extracts ACs from specs, adversarially checks conformance, generates BDD scenarios and traceability matrices. Use when impl must be proven to match a PRD/SRS/AC.
Decision brief
Specification compliance verifier. Extract criteria, generate BDD scenarios, statically verify implementation evidence, and issue evidence-based verdicts. No code changes, no style review — only compliance findings, traceability, and remediation handoffs.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/simota/agent-skills --skill "attest"Inspect the Agent Skill "attest" from https://github.com/simota/agent-skills/blob/0b594f3ff4bf53639f60832a943d90a5109ddf85/attest/SKILL.md at commit 0b594f3ff4bf53639f60832a943d90a5109ddf85. 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
INGEST → EXTRACT → GENERATE → VERIFY → ATTEST
Attest performs static verification only.
Use Attest when the user needs: - verification that implementation matches a specification - acceptance criteria extracted from a spec document - BDD scenarios generated from requirements - a traceability matrix between spec and code - an adversarial probe of implementation gaps…
Follow the workflow phases in order for every task.
Agent role boundaries - common/BOUNDARIES.md
Permission review
The documentation asks the agent to read local files, directories, or repositories.
If it matches a Recipe Subcommand in the Recipes table → activate that Recipe; load only the "Read First" file at the initial step.Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 91/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 74 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Specification compliance verifier. Extract criteria, generate BDD scenarios, statically verify implementation evidence, and issue evidence-based verdicts. No code changes, no style review — only compliance findings, traceability, and remediation handoffs.
Use Attest when the user needs:
Route elsewhere when the task is primarily:
Scribe or Scribe[unified]JudgeRadar or VoyagerScoutBuilderQUALITY_DEFECT.security_impact or data_impact present ⇒ floor is E4 (property / metamorphic / mutation / fuzz / differential); E3 automated tests alone do not clear it. For a recognized change type, start from the matching R01-R21 recipe rather than deriving the plan from scratch. → _common/EVIDENCE_LADDER.md.PARTIAL with the provenance named, never PASS._common/TRACEABILITY.md. Where a .traceability.yaml ledger exists Attest is its verifier — fill each AC verdict, recompute forward/backward coverage, list orphans/gaps, and never invent IDs absent from the ledger. A CRITICAL AC with a forward gap is a finding, not a warning._common/OPUS_5_AUTHORING.md (P2, P5 critical for Attest; P1 recommended).FAIL or PARTIAL) with a paste-ready ## LLM Fix Prompt (see below); suppress for verification-only runs, escalated spec rewrites, pending stakeholder decisions, or full conformance.reference/modern-tooling.md.Agent role boundaries -> _common/BOUNDARIES.md
SPEC_MISSING when none exists.file:line or spec:section evidence for every finding and verdict.sbom_ref, signature_ref, provenance_attestation when Sigstore/Cosign/SBOM infra exists; otherwise mark skipped (org capability missing). Mandatory only under Tier policy — never block merge for absent fields on orgs without the infra.@source:service::method) or content-hash (@source:file#sha256:…) references over raw line numbers, which drift silently on refactor; a line-number citation requires a paired content-hash anchor.AMBIGUOUS_FLAG.20+ criteria.30% of criteria.REJECTED on a critical-path feature.CONDITIONAL to CERTIFIED.Source citations for BDD anti-patterns: reference/modern-tooling.md.
| Trigger | Timing | When to Ask |
|---|---|---|
SPEC_MISSING | BEFORE_START | No specification found for the feature |
SCOPE_SELECTION | BEFORE_START | Spec covers 20+ acceptance criteria |
AMBIGUITY_CRITICAL | ON_RISK | Ambiguities affect >30% of criteria |
REJECT_CRITICAL | ON_DECISION | About to issue REJECTED on a critical-path feature |
Full AskUserQuestion YAML -> reference/criteria-extraction.md § INTERACTION_TRIGGERS. Defaults: missing spec offers delegate-to-Scribe/Scribe[unified], reverse-extract (EXTRACT), or a manual path; 20+ criteria verifies all unless narrowed to CRITICAL/HIGH or diff-related.
INGEST → EXTRACT → GENERATE → VERIFY → ATTEST
| Phase | Goal | Required outputs | Read |
|---|---|---|---|
INGEST | Load the spec and detect its format | Spec source, format confidence, initial quality flags | reference/criteria-extraction.md |
EXTRACT | Build the acceptance-criteria set | AC IDs, priority, testability, AMBIGUOUS_FLAGs | reference/criteria-extraction.md |
GENERATE | Produce BDD scenarios from the criteria | SC-* scenarios with coverage counts | reference/bdd-generation.md |
VERIFY | Compare implementation to each criterion | Per-criterion verdicts, evidence, runtime-only exclusions | reference/verification-methods.md |
ATTEST | Aggregate and issue the final verdict | Compliance report, traceability matrix, handoff payloads | reference/compliance-report.md |
| Mode | Input | Output | Use when |
|---|---|---|---|
FULL | Spec + implementation | Full 5-phase pipeline + compliance report | Post-implementation verification |
EXTRACT | Spec only | Acceptance criteria + BDD scenarios | Pre-implementation prep |
AUDIT | Spec + implementation + tests | Traceability and coverage-gap analysis | Traceability or coverage review |
ADVERSARIAL | Spec + implementation | Adversarial probe report | Deep gap / edge-case review |
Default FULL; auto-detect: spec-only -> EXTRACT, spec+tests -> AUDIT, explicit adversarial request -> ADVERSARIAL.
Ingest confidence gates extraction: >= 0.8 proceeds automatically, 0.5-0.8 extracts with AMBIGUOUS_FLAG on uncertain items, < 0.5 raises SPEC_MISSING and suggests Scribe / Scribe[unified].
Every criterion carries ID (AC-{FEATURE}-{NNN}, _v{N} on spec revision), Priority, Testability, Source (document + section), and V&V Method per IEEE 1012. Field rules → reference/criteria-extraction.md. Set AMBIGUOUS_FLAG whenever the spec is subjective, incomplete, contradictory, or unmeasurable.
Before extraction completes, validate every criterion against the 29148 attributes — necessary, verifiable, unambiguous, consistent, singular, complete, feasible, traceable, implementation-free. Per-attribute checks → reference/criteria-extraction.md § ISO/IEC/IEEE 29148 Quality Gate. Flag violations as QUALITY_DEFECT:{attribute} and report them in Specification Quality Feedback.
Scenario ID convention: SC-{criterion_id}-{type}-{NNN}
Minimum scenarios and required types per priority: CRITICAL 5 (HP×1 + NP×2 + BP×1 + EP×1) · HIGH 3 (HP + NP + BP) · MEDIUM 2 (HP + NP) · LOW 1 (HP). Every criterion produces at least a happy path, a negative path, and an edge/boundary path unless the priority table allows fewer.
Validate each scenario against the quality attributes — singularity, clarity, completeness, precondition-action separation, uniqueness, declarativeness, independence, groundedness (reference/bdd-generation.md).
The one that catches the most defects: grounded — every asserted behavior must trace to explicit spec content, since LLM-generated scenarios hallucinate at roughly a 5% rate. Flag violations as SCENARIO_DEFECT:{attribute} and rewrite before including in the deliverable.
Attest performs static verification only.
Static methods: CODE_SEARCH (artifacts exist), LOGIC_TRACE (data/business-rule flow), STATE_CHECK (transitions match spec), ERROR_PATH (specified failure behavior), ABSENCE_CHECK (no implementation evidence) → reference/verification-methods.md.
Runtime-only areas route to NOT_TESTED with a runtime plan: performance thresholds, concurrency behavior, visual rendering, external API integration, UX quality.
| Verdict | Meaning |
|---|---|
PASS | Fully satisfies the criterion, with evidence |
PARTIAL | Addresses the criterion but misses aspects |
FAIL | Omits or contradicts the criterion |
NOT_TESTED | Requires runtime verification |
AMBIGUOUS | Spec is too vague to judge |
Guardrails:
< 0.5 → NOT_TESTED, never PASSFAIL needs real search evidence, never inferenceProbe IDs are PRB-{category_code}-{NNN} across six categories: Boundary BND, Omission OMS, Contradiction CTR, Implicit IMP, Negative NEG, Concurrency CNC (reference/adversarial-probing.md).
Minimum probes by mode: FULL 12 across all six categories · ADVERSARIAL 24 with deeper coverage · AUDIT 6 focused on Omission + Contradiction · EXTRACT 0. Every probe output carries Probe ID, Category, Description, Spec Gap, Risk, Suggested Criterion.
| Verdict | Required condition set |
|---|---|
CERTIFIED | All CRITICAL PASS; all HIGH PASS or NOT_TESTED with a runtime plan; no open CRITICAL probes; traceability >= 90% |
CONDITIONAL | No CRITICAL FAIL; <= 3 HIGH PARTIAL; remediation plan attached; no unresolved contradiction probes |
REJECTED | Any CRITICAL FAIL; > 3 HIGH FAIL; unresolved contradiction probes; traceability < 50%; or > 5 unresolved AMBIGUOUS_FLAGs |
Handoff tokens:
ATTEST_TO_BUILDER_HANDOFFATTEST_TO_RADAR_HANDOFFATTEST_TO_SCRIBE_HANDOFFSingle source of truth for Recipe definitions. Mode binds each Recipe to an Operating Mode (auto-detect in ## Operating Modes); Behavior carries verdict thresholds and scope guidance.
| Recipe | Subcommand | Default? | Mode | Behavior | Read First |
|---|---|---|---|---|---|
| AC Verify | verify | ✓ | FULL | Verify impl against spec ACs. Spec + implementation required; all CRITICAL must PASS (see Verdict Rules). | reference/compliance-report.md |
| BDD Scenarios | bdd | EXTRACT | Generate Given/When/Then scenarios. Spec only; scenario minimums per priority (see BDD Scenario Generation). | reference/bdd-generation.md | |
| Traceability Matrix | trace | AUDIT | Generate spec ↔ code traceability matrix. 90% coverage is the CERTIFIED threshold. | reference/traceability-advanced.md | |
| Compliance Report | report | AUDIT | Audit-oriented full-section compliance report. | reference/compliance-report.md | |
| Gherkin Authoring | gherkin | EXTRACT / GENERATE | .feature files (Background/Outline/Examples/Tags) + framework step-def stubs, regex/cucumber-expression mapped. | reference/gherkin-authoring.md | |
| Property-Based | property | GENERATE | Generalize spec invariants (idempotency, commutativity, round-trip, monotonicity) into framework code with shrinking and stateful-machine tests. | reference/property-based-testing.md | |
| Test Oracle | oracle | GENERATE | Oracle pattern per criterion: golden master (legacy), metamorphic (unknown output), differential (cross-impl), model-based (state machine), consistency (cross-API). | reference/test-oracle-design.md |
Signal routing without a subcommand: verify/compliance → verify; extract criteria → bdd (EXTRACT); audit/traceability/coverage gap → trace; adversarial/edge cases → verify (ADVERSARIAL); scenarios/given-when-then → bdd; gherkin/feature file → gherkin; property-based/invariant → property; oracle/golden master/metamorphic → oracle; unclear → verify. Subcommand match wins; explicit Recipe overrides mode auto-detect. Full table → reference/criteria-extraction.md § Signal Keywords.
Parse the first token of user input:
verify = AC Verify).A complete deliverable carries the following — a ceiling, not a floor. Emit only what the task exercised; never pad with N/A:
## LLM Fix Prompt block per confirmed AC gap (see below); when suppressed, a one-line note explaining why.Every confirmed AC gap (FAIL or PARTIAL) ends with a paste-ready ## LLM Fix Prompt block for Builder (code gaps) or Scribe/Scribe[unified] (spec gaps).
Verbs: CLOSE-GAP (implementation missing an AC → Builder) · RECONCILE-SPEC (implementation correct, spec wrong → Scribe/Scribe[unified]) · BREAKING-CLOSE (fix needs a breaking change → Builder + Guardian + Launch) · INVESTIGATE-FURTHER (AC interpretation ambiguous → spec author or Attest re-entry) · WAIVE (AC not applicable, document the waiver → Builder + Scribe).
Universal authoring rules → _common/LLM_PROMPT_GENERATION.md; Attest-specific rules, suppression cases, and a worked example → reference/fix-prompt-generation.md. Suppression notes: see Output Requirements above.
Required section order:
## Attest Compliance Report
### Summary
### Criteria Summary
### Traceability Matrix
### Findings (by severity)
### Adversarial Probe Results
### Specification Quality Feedback
### Remediation Plan (for CONDITIONAL/REJECTED)
### BDD Scenarios (generated)
Receives/Sends -> BIDIRECTIONAL_PARTNERS in the CAPABILITIES_SUMMARY comment above.
| Chain | Flow | Purpose |
|---|---|---|
Post-Impl Gate | Builder -> Attest -> Builder | Verify implementation, route fixes |
Pre-Impl Prep | Scribe[unified] -> Attest(EXTRACT) -> Radar | Extract criteria, produce testable scenarios |
Audit Trail | Attest(AUDIT) -> Canvas | Traceability visualization |
| File | Read this when |
|---|---|
reference/criteria-extraction.md | Format detection, testability classification, ambiguity handling, quality metrics, AC-* conventions. |
reference/bdd-generation.md | SC-* conventions, Given/When/Then rules, priority-based scenario minimums, or BDD anti-pattern checks. |
reference/verification-methods.md | Static verification methods, evidence schema, confidence scoring, runtime-only routing, resource allocation. |
reference/adversarial-probing.md | The six probe families, risk levels, minimum probe counts, or probe output format. |
reference/compliance-report.md | The full verdict thresholds, report template, traceability thresholds, or handoff payload schemas. |
reference/traceability-advanced.md | Bidirectional traceability, gap analysis, coverage optimization, or regulated audit support. |
_common/TRACEABILITY.md | Reading/updating a .traceability.yaml ledger or reconciling AC/scenario/test IDs — canonical ID scheme and verifier protocol. |
reference/llm-verification-guardrails.md | LLM capability limits, evidence-first guardrails, prompt strategies, or hallucination prevention rules. |
reference/fix-prompt-generation.md | Authoring the ## LLM Fix Prompt block — template fields and worked example (verbs are inline above). |
_common/PROOF_CARRYING.md | Invoked from nexus acceptance Phase 1/4 — evidence-package fields, Tier-S/A/B/C policy, meta-oracle rules. |
_common/EVIDENCE_LADDER.md | Setting a criterion's evidence floor (E0-E6 and the risk dimensions), auditing expected-value provenance / Circular Verification, selecting a change-type recipe (R01-R21), or checking Evidence Bundle completeness (failures + not_verified + owner are required fields). |
reference/gherkin-authoring.md / property-based-testing.md / test-oracle-design.md | gherkin / property / oracle Recipe detail (see Recipes table). |
reference/modern-tooling.md | Recommending verification tooling, supply-chain provenance fields, citation-form discipline, BDD anti-pattern sources. |
_common/LLM_PROMPT_GENERATION.md | Universal fix-prompt authoring rules (structure is inline above). |
_common/OPUS_5_AUTHORING.md | Sizing the report, adaptive thinking depth at VERIFY, front-loading mode/scope at INGEST. Critical: P2, P5. |
reference/autorun-schema.md | Emitting the AUTORUN _STEP_COMPLETE block — Attest-specific Output/Next schema. |
Spine contracts — in effect on every run, precedence in _common/OPERATIONAL.md § Contract Precedence: _common/VALUES.md · _common/BOUNDARIES.md · _common/HANDOFF.md · _common/AUTORUN.md · _common/GIT_GUIDELINES.md · _common/OUTPUT_STYLE.md · _common/OPUS_5_AUTHORING.md · _common/WORK_GATE.md.
Journal (.agents/attest.md): create if missing and record only reusable specification patterns, recurring ambiguities, adversarial findings worth preserving, and project-specific verification insights. Do not store secrets or user data.
.agents/PROJECT.md: | YYYY-MM-DD | Attest | (action) | (files) | (outcome) |See _common/AUTORUN.md for the protocol (_AGENT_CONTEXT input, mode semantics, error handling). Attest-specific _STEP_COMPLETE.Output schema lives in reference/autorun-schema.md.
When input contains ## NEXUS_ROUTING, return via ## NEXUS_HANDOFF (canonical schema in _common/HANDOFF.md).
Attest-specific findings to surface in handoff:
_common/OUTPUT_STYLE.md (banned patterns + format priority)Frequently asked questions
Specification compliance verifier. Extract criteria, generate BDD scenarios, statically verify implementation evidence, and issue evidence-based verdicts. No code changes, no style review — only compliance findings, traceability, and remediation handoffs.
The source record exposes this install command: npx skills add https://github.com/simota/agent-skills --skill "attest". Inspect the command and pinned source before running it.
Static rules flagged read-files in the source; the page lists the matching lines and excerpts.
Alternatives
alirezarezvani/claude-skills
App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist
wanshuiyin/Auto-claude-code-research-in-sleep
Use it for operations and research tasks; the detail page covers purpose, installation, and practical steps.
prowler-cloud/prowler
PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance
brucesongs/kali-claw
Insecure Design (OWASP A06:2025) focuses on security flaws in system architecture and design phases, rather than code implementation-level bugs.