agentleFS
chipweaverchipweaver/veripower/skills/simulation-plan/SKILL.md

simulation-plan

Skill10 starsChanged 53 days agoMITView on GitHub

Use when generating or evolving a module's verification strategy, testpoints, TB scaffold and power measurement plan; not for implementing the testbench or running a regression.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Write under {workdir}. Read dispatch.json for the input locations: intent is the original material.

    line 12
  2. Very specific:

    Use power-scenarios-template.md for task-relevant power planning.

    line 42
  3. Very specific:

    Use --fail-reason for an unresolved blocking finding or incomplete review.

    line 76

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Verification Planning

Plan how the task's required behavior and power questions will be verified. Expected behavior comes from the original intent and resolved design choices. Implementation or diagnostic evidence can explain a discrepancy; it does not redefine the requirement being checked.

Write under {workdir}. Read dispatch.json for the input locations: intent is the original material; design, manifest, clocks, requirements, check_hints and top_io resolve to the specification directory. Use design.md for behavior, interfaces and timing scenarios, and consult the original intent when its meaning or a derived requirement is in doubt.

Author or amend the plan

Continue from the artifacts already in {workdir}. Use changed inputs (scope), reported failures (caused_by) and any supplied decisions (reasons) to determine the work. Their absence does not mean a first delivery. Preserve unaffected content and identifiers; create missing artifacts as needed. A diagnosis supplies evidence to examine, not an automatic instruction to change acceptance.

ArtifactPurpose
verification-plan.mdStrategy, power measurement meaning and material decisions; use the outline
tb-scaffold.jsonFunctional agents, tests, testpoints, reference-model/scoreboard organization and skipped checks
sequences.jsonFunctional sequences implemented by simulation
power-scenarios.jsonIdentifiers for the power measurements explained in the plan

The sidecar formats are tb-scaffold.schema.json, sequences.schema.json and power-scenarios.schema.json. spec-input-contract.md explains how the specification feeds the functional scaffold and sequence reuse.

Account for each check-hints.json check in testpoints[].covers[] or a justified skipped_checks[] entry. Assess disputed expectations and reachability against the original requirement and technical evidence. Correct mistaken testpoints and report implementation defects to their owner. Record material scope decisions in the plan.

Use power-scenarios-template.md for task-relevant power planning. Keep measurement meaning in verification-plan.md and identifiers in power-scenarios.json; power-analysis implements the experiment.

Check and review

<skill> is this skill's directory. Check the functional boundary and sidecars:

python3 <skill>/scripts/simplan/__main__.py check-scaffold --plan {workdir} --spec <design>

Repair local defects and recheck affected work. Have a reviewer assess the plan using plan-review-task-contract.md, providing the plan and relevant input paths. Collect its findings before closing; report an incomplete review as unresolved.

Evaluate findings against the task and repair the plan where warranted. Recheck edits and have substantive review findings reassessed. Decisions about intent follow the actual authorization: act within an existing delegation, otherwise obtain the needed human decision. Record material accepted findings in plan-review/decisions.md, identifying the decision and its authorization; do not present an agent decision as the user's words. Present the plan and review paths with any decision the user still needs to make.

Close the stage

Finalize after completing this stage's work or when an unresolved issue must return to the caller:

python3 <skill>/scripts/simplan/__main__.py finalize \
  --workdir {workdir} --spec <design> \
  [--fail-reason "<unresolved cause>"] [--fix-owner <rule>]

Finalize checks the sidecars again and writes result.json; it does not judge the review prose. Use --fail-reason for an unresolved blocking finding or incomplete review. Name the actual repair owner: simulation-plan for this plan, specification for an upstream definition, or leave it unresolved when the evidence does not identify one.

Exit 0 means the result was written, pass or fail; return STATUS: DONE and let the caller route it. Exit 2 means closure failed; resolve the reported cause or return STATUS: BLOCKED <cause>.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.