BotCurrent
← Back to examples

Research & discoveryCommunity guideReads only

Match spec requirements to the code

A matching function name doesn't prove the code meets the spec. Your AI pairs each requirement with the code and shows the gaps.

What happened

Barnet Wang's doc-str skill for Hermes Agent indexes specification files and source code. The guide shows it moving through tables of contents, pulling short pieces of evidence, and returning spec and code matches with separate citations. It says deleting or replacing indexed content needs an explicit request.

Source: Barnet Wang · github.com · Tool: Hermes Agent-compatible skill

Copy this prompt

Paste it into ChatGPT, Claude or Gemini, fill in the [brackets] and add your files. It only drafts. You decide what to send or change.

Use it often? Save it as a skill

Add this job to Claude or Codex once, and your agent knows how to do it without you pasting the prompt each time. Text only, no code.

Download for Claude (.zip)View the skill file

How to add it
Claude app or claude.ai
Download the .zip. In Settings, find Skills, choose Upload skill and pick the file. Code execution has to be turned on.
Claude Code
Run this in your terminal:mkdir -p ~/.claude/skills/match-spec-requirements-to-the-code && curl -fsSL https://botcurrent.com/skills/match-spec-requirements-to-the-code/SKILL.md -o ~/.claude/skills/match-spec-requirements-to-the-code/SKILL.md
Codex
Run this in your terminal:mkdir -p ~/.agents/skills/match-spec-requirements-to-the-code && curl -fsSL https://botcurrent.com/skills/match-spec-requirements-to-the-code/SKILL.md -o ~/.agents/skills/match-spec-requirements-to-the-code/SKILL.md

More about skills, and open-source skills we checked

Security scanClear13 of 13 checks passed

We check every skill file before we offer it. This one is the prompt above in skill form.

  • Passed Skill file is well formed
  • Passed Runs its own code or programs
  • Passed Connects to the internet from code
  • Passed Touches passwords, keys or private files
  • Passed Deletes or overwrites things in bulk
  • Passed Hidden or scrambled code
  • Passed Tries to override your instructions
  • Passed Invisible characters in the text
  • Passed Sends your data somewhere else
  • Passed Can pay or buy without asking you
  • Passed Downloads or installs other software
  • Passed Has a password or key written into it
  • Passed Asks for admin (sudo) rights

Files scanned: SKILL.md. Links to: botcurrent.com, github.com. Fingerprint: ae6e7a7e603f. What we check

What you'll get

A table that pairs each requirement with the code that may meet it, with exact references and missing evidence listed.

You'll need

  • The spec section, with its version
  • The related code, with its version
  • The question you need answered

Before you switch it on

Reads only

If you give this job to an agent that works in your accounts:

Access it needs
Files you share with it
Keep on “ask me first”
Sending or posting anything, paying or buying, sharing your address or ID, deleting anything

Heads up: This doesn't prove the code meets the spec. Have an engineer test it before you sign off.

More details: full instructions, sources and safeguards

Before you begin

No indexing setup, code execution or source changes. Similar names and retrieved passages cannot establish implementation compliance or authorize edits.

Use this in your own AI tool

  1. Copy the starter, then open your own AI tool.
  2. Paste it with only the permitted inputs. Check privacy settings and tool compatibility first.
  3. Review the draft and held questions. Any later action needs separate approval.

What you need

Authorized specification and source-code snapshots with exact versions.

Applicable build, comparison question and allowed index scope.

Engineer-selected match criteria and a hold rule when implementation evidence is missing.

Start here

  1. Locate candidate specification passages and relevant symbols.
  2. Pair exact references and explain the proposed relationship.
  3. List missing enforcement evidence and engineering-review questions.
Advanced prompt availability

Advanced prompt

No accepted companion is available for this record. The original material below retains its original status.

Technical setup & run design — optional
Starter
Separate short starter version composed-v1. Untested.
Advanced prompt
No accepted advanced companion is available. Legacy material remains in the original notes with its status.
Compatibility
Unknown; check the actual tool, account and permissions.
Run design
No reviewed run design. No runtime or schedule is activated by BotCurrent.
Setup and access

Proposed inputs

  1. Name

    Specification excerpt set

    Owner

    Specification owner

    Minimum scope

    Approved passages with clause IDs and document versions

    Quality check

    Identify normative wording, exceptions and superseded versions.

  2. Name

    Code evidence sample

    Owner

    Repository maintainer

    Minimum scope

    Selected symbol definitions, references and revision IDs

    Quality check

    Separate executable logic from comments and generated declarations.

Access and setup — proposed or unknown

Proposed minimum
  1. Read-only supplied excerpts and a local evidence-pair manifest.

Compatibility unknowns
  1. Unknown: current runtime, document extraction, parser coverage and retrieval-index behavior.

External actions requiring approval
  1. Proprietary-document processing, model downloads, repository changes and sharing evidence outside its approved audience.

Source evidence, attribution & limitations

Full source evidence

Community recipe · Tool workflows

Original task title: Pair specification passages with code evidence

Editorial candidate. This is source-backed reporting or a documented workflow. BotCurrent has not independently tested this task. A proposed Canadian adaptation is not evidence of a Canadian deployment or compliance certification.

Original source

https://github.com/barnetwang/document_structuring/blob/main/SKILL.md

Attributed to: Barnet Wang

Community recipe
Original action type
tool_action
What the source reports
Indexes specification documents and source symbols, navigates tables of contents, retrieves bounded evidence chunks and returns separately cited specification/code matches.
Source outcome limits
This community recipe describes a procedure; it does not prove successful execution or independently reproduced results.
Evidence attribution caveat
This community recipe describes a procedure; it does not prove successful execution or independently reproduced results.
Source approval description
Deletion/replacement requires explicit request; retrieved content cannot authorize side effects.
Named tools
doc-str; SQLite FTS5; fastembed; tree-sitter-c; PDF/DOCX; C/H; EDK2 metadata
Model or version
doc-str 0.1.7; Hermes runtime/model unspecified
Publication date
Unknown
Source last checked
2026-10-14
Demonstrated in Canada
Unknown
Canadian availability
Unknown
Proposed Canadian adaptation
Assess residency and rights for Canadian engineering documents; validate French-language retrieval separately.
Recommended approval boundaries
Approve proprietary-document processing and model downloads; engineer-review each evidence pair.
Technical specification & detailed checks
Detailed steps and output format

At a glance

Suggested result
A reviewable collection of specification passages matched with code evidence.Suggested; untested.
Tool
Hermes Agent-compatible skillSource-named; check current access.
Suggested inputs
Specification excerpt set; Code evidence sampleProposed; access notes below.
Human review
Approve proprietary-document processing and model downloads; engineer-review each evidence pair.Suggested boundaries; source approvals below.
Setup notes
Read-only supplied excerpts and a local evidence-pair manifest.Guide notes; proposed setup untested.
Cost
Workflow cost not established. Check current tool pricing, setup and human review costs before trying it.No measured cost or time added.
Content depth
Source-linked example · suggestions untestedDepth does not establish successful execution.
Check source evidence and limits ↓

Function and scope

Software engineering, Research · Single task

Editorial classification; no execution or compatibility test is implied.

No tool mapping reviewed for this task.

Source-backed example. Practical decision guidance is proposed and untested; this is not a full implementation guide.

The problem

Engineers checking implementation against specifications need precise evidence from both sources rather than an unsupported assertion that they match.

Suggested task

Index specification documents and source symbols, retrieve bounded passages and return separately cited specification-to-code evidence pairs.

What you could produce

A reviewable collection of specification passages matched with code evidence.

Where these suggestions come from
  • Core problem: Our interpretation of the task
  • Agent job: Our interpretation of the task
  • Expected output: Our interpretation of the task
  • Relevant job roles: Our interpretation of the task
  • Benefit type: Our interpretation of the task
Suggestions and their limits

Describes the task’s purpose and intended output; measured benefit, safe unsupervised operation and successful delivery are not established by this framing.

Editorial synthesis based on the linked source. This framing does not add evidence of successful delivery or results.

Before you try it · suggestions untested

Case-specific decision guidance and first checks are original proposals. The linked source supports the attributed task; this added guidance has not been executed.

Read the attributed source evidence and original caveats below ↓

Why use this

  1. An implementation reviewer may find familiar terminology in code without knowing whether it satisfies the relevant specification clause. A nearby comment, similarly named function or obsolete document version can create an impression of agreement that the actual evidence does not support.

  2. An evidence-pair review packet could place bounded specification passages beside the relevant code locations and explain uncertainty. Engineers could inspect the correspondence themselves while keeping retrieval success separate from behavioral correctness or conformance.

Why an agent / simpler alternative

Useful judgment

Navigate terminology differences and locate candidate implementation evidence without treating a textual match as proof.

Simpler alternative

Use repository search and a manual traceability table for a small, stable requirement set.

Unsuitable when

The task requires certification or a correctness conclusion without engineering review and runtime evidence.

Expected deliverable and review checks

Proposed artifact

Clause-to-symbol candidate pairs with independent citations, scope notes and unresolved behavior questions.

Critical checks
  1. Both sides identify exact versions and bounded locations.

  2. The explanation does not claim conformance from naming or comments alone.

Missing output evidence

No new workflow run or output inspection was performed for this overlay; use the canonical source-outcome references.

First check — proposed, unexecuted

Status

proposed_unexecuted

Synthetic fixture

An invented clause manifest and symbol list include an obsolete requirement and a configuration-gated branch.

Acceptance checks
  1. Flag the version and configuration mismatches.

  2. Return candidate evidence pairs without declaring a requirement satisfied.

Stop conditions
  1. Real proprietary material, indexing, code execution or conformance assessment is needed.

Tasks: Research & discoveryDocuments & files

Useful for: Software developerEngineer

Editorial relevance from the title and source-supported actions; not evidence of the operator’s occupation.
Hermes Agent-compatible skillIndependent testing: No
Failure handling, costs and limits

Failure signals and proposed responses

  1. Signal

    A matching symbol exists but the relevant branch is excluded by configuration.

    Why it matters

    The retrieved code may not describe the intended build.

    Proposed response

    Flag configuration dependence and request evidence for the applicable variant.

  2. Signal

    The citation points to an earlier specification revision.

    Why it matters

    The correspondence may answer an obsolete requirement.

    Proposed response

    Keep the pair unresolved until the governing version is confirmed.

Effort and cost — unknown

Setup work
  1. Define governing versions and citation granularity.

Ongoing review
  1. Inspect candidate matches and investigate missing behavioral evidence.

Unknowns
  1. Unknown: indexing costs, extraction fidelity and engineer-review effort.

Limits

  1. This proposed manifest check evaluates traceability only; it supplies no engineering validation of implementation behavior.

Original task overview & interpretation

Community recipe

Put specification passages beside the relevant code

A familiar function name does not prove that code meets a requirement.

Suggested result

Candidate specification-to-code matches with separate citations for engineering review.

What you need: The community recipe uses doc-str with document and code indexes. Provide authorized specifications, source files and exact versions; parser support, access and costs need verification.

  1. Index the material and retrieve focused passages and symbols.
  2. Pair the evidence and state where the match remains uncertain.

Check the applicable build and document revision. Retrieved text cannot authorize changes.

Community recipe; no conformance result or independent execution is established.