agentleFS
NatchpaiNatchpai/Hardware-Copilot/.claude/skills/hw-phase-record/SKILL.md

hw-phase-record

Skill0 starsChanged 17 days agoMITView on GitHub

Acknowledges a hardware project phase explicitly declared by a human engineer and, only when requested, records it in README.md. Use when the user declares DRAFT, PRELIMINARY, CHECK, or RELEASE. Does not evaluate readiness, create state files, or perform Git release actions.

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 5 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

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

    If the project has rules/hardware-workflow.md, it holds the full phase definitions.

    line 23
  2. Distinctive:

    Treat wording such as "record it in README.md" or "update the README" as explicit persistence.

    line 29
  3. Very specific:

    If the human explicitly requests persistence in README.md, locate exactly one existing Current Phase record.

    line 33
  4. Distinctive:

    If the record already holds the declared phase, report that and change nothing.

    line 40
  5. Very specific:

    If the Current Phase record is missing, duplicated, or ambiguous, report the problem and do not modify the file.

    line 42
  6. Very specific:

    When persistence is requested (this includes creating a new README with a declared phase) and the README has the Mermaid workflow diagram …

    line 46
  7. Very specific:

    Do not change nodes, edges, labels or classDef lines.

    line 56
  8. Distinctive:

    Never infer, validate, advance, or reject a phase from project files, ERC, DRC, document presence, Git state, or a GitHub release.

    line 62
  9. Very specific:

    Do not create PHASE.md, JSON state, a database, or other phase records.

    line 64
  10. Distinctive:

    Do not generate, open, read, parse, or assess PDF documents.

    line 67
  11. Distinctive:

    Keep KiCad files and libraries read-only.

    line 68
  12. Very specific:

    If persistence could not be completed, state whether the Current Phase record was missing, duplicated, or ambiguous.

    line 75

≈ “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

Phase Record

Record only a phase explicitly declared by the human engineer. A recorded phase is project context, not evidence of verification, approval, or release.

Accepted phases

  • DRAFT: schematic capture in progress; PCB work not started.
  • PRELIMINARY: schematic nearly complete; PCB work started.
  • CHECK: schematic and PCB mostly final; the human runs ERC and DRC on a saved baseline.
  • RELEASE: an approved CHECK baseline is published.

If the project has rules/hardware-workflow.md, it holds the full phase definitions.

Record

  1. Accept a phase only when the human explicitly states one of the accepted values (case-insensitive; write it in upper case).
  2. Treat wording such as "record it in README.md" or "update the README" as explicit persistence. Otherwise acknowledge the declaration in conversation only and make no file changes. A phase that is a step back (for example CHECK to DRAFT) is recorded as declared.
  3. If the human explicitly requests persistence in README.md, locate exactly one existing Current Phase record. Recognize either **Current Phase:** or - Current Phase:.
  4. Replace only that phase value with the human-declared phase. Preserve all other README content, including phase descriptions, status notes, and established formatting. The one other permitted edit is the Mermaid workflow diagram, updated as described in "Diagram sync".
  5. If the record already holds the declared phase, report that and change nothing.
  6. If the Current Phase record is missing, duplicated, or ambiguous, report the problem and do not modify the file.

Diagram sync

When persistence is requested (this includes creating a new README with a declared phase) and the README has the Mermaid workflow diagram (nodes A-D for DRAFT, PRELIMINARY, CHECK, RELEASE, matched by order and label), update only its class assignment lines to match the declared phase:

  • Phases before the declared one: done.
  • The declared phase: review.
  • Phases after it: inactive.
  • RELEASE declared: all four nodes done.

Do not change nodes, edges, labels or classDef lines. If the diagram is missing or its class lines are ambiguous, update the Current Phase value only and report that the diagram was not updated. Never add a diagram that is not already there.

Boundaries

  • Never infer, validate, advance, or reject a phase from project files, ERC, DRC, document presence, Git state, or a GitHub release.
  • Do not create PHASE.md, JSON state, a database, or other phase records.
  • RELEASE never authorizes a commit, tag, push, pull request, or GitHub release.
  • Do not generate, open, read, parse, or assess PDF documents.
  • Keep KiCad files and libraries read-only.
  • Editing README.md is a content edit; staging or committing it needs separate approval. Follow rules/git-workflow.md if present.

Output

  • State the declared phase and whether it was acknowledged only or recorded in README.md, and whether the diagram was updated.
  • If persistence could not be completed, state whether the Current Phase record was missing, duplicated, or ambiguous. Do not create a replacement section.

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.