BotCurrent↗
← Back to examples

Community recipe · Tool workflows

Pair specification passages with code evidence

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.

Agent job

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

Expected output

A reviewable collection of specification passages matched with code evidence.

Where this framing comes from
  • Core problem: Editorial purpose framing
  • Agent job: Editorial purpose framing
  • Expected output: Editorial purpose framing
  • Relevant job roles: Editorial purpose framing
  • Benefit type: Editorial purpose framing
Editorial framing and outcome 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.

Case-specific decision guidance · 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.

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.

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.

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.

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.

Limits

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

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

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 supports
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.