revise-pcba-assembly
Preview and apply a bounded, revision-bound PCBA placement or population correction using explicit authoritative geometry, then regenerate and recheck the assembly package.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 21
- Forks
- 15
01 前言 Front Matter
- name
- revise-pcba-assembly
- description
- Preview and apply a bounded, revision-bound PCBA placement or population correction using explicit authoritative geometry, then regenerate and recheck the assembly package.
02 资源文件 1
- 参考文档agents/openai.yaml239 B
03 SKILL.md 正文
Revise a PCBA assembly package
Resolve the installed plugin root from this skill location. Use node <installed-plugin-root>/scripts/pcba.mjs for the real workflow, even outside the plugin repository. Read ../../references/workflow.md for the data contract.
- Run
status --project <directory>to load the current revision, variant and unresolved findings. Never rely on remembered chat state. - Establish the authorized scope and authoritative replacement source. Existing user authorization persists; do not ask again for a concrete correction the user already requested. If evidence or scope is missing, request that information before applying dependent changes.
- Generate an exact preview using one form:
plan-change --project <directory> --use-authoritative --reason <specific reason>uses the imported authoritative placement snapshot.plan-change --project <directory> --placements <complete.csv-or-json> --units mm --bottom-view top-view --reason <specific reason>replaces the placement export using supplied geometry. JSON accepts an array or an object with a placements array.plan-change --project <directory> --population <reference-to-boolean.json> --reason <specific reason>changes only the specified population flags; newly populated parts require authoritative coordinates.
- Present the exact reference-level diff and before/after findings. Verify it matches the requested correction. Do not silently change part identities, electrical design, quantity or variant to make checks pass.
- Apply the returned plan path with
apply-change --project <directory> --plan <plan.json>. The CLI rejects tampered or stale plans. A retry of the same applied plan is idempotent. If stale, inspect the current revision and prepare a fresh preview; never edit the plan manually. - Run
check --project <directory> --expect <new-revision>. Read the regenerated guide and unchanged checking rules. Unresolved material and engineering evidence remain visible. Continue to$prepare-pcba-handoffwhen document consistency passes and a handoff is requested.
Project revisions and existing delivery directories are immutable. Do not edit their JSON or generated reports directly. View filters in the HTML are not population changes. Keep source data, scenario changes and actual physical outcomes distinct.
04 同仓库更多 Skills
verify-engineering-design
Measure a study's CAD exports against its saved requirements, preserving failed or unknown results and the source, checker and artifact provenance.
prepare-engineering-handoff
Regenerate a study's checked CAD, source, measurements and BOM, then rebuild the delivered package in a separate destination and compare the results.
engineer-subsystem
Turn a mechanical design brief into a saved CAD study, author or revise its model, and preserve requirements and failed measurements through Text-to-CAD.
review-pcba-package
Review supplied PCB assembly BOM and placement data, reconcile population and geometry evidence, and create a persistent local PCBA project with an offline visual assembly guide.
prepare-pcba-handoff
Export a consistent PCBA project into an immutable offline assembly packet and independently re-read its BOM, placements, provenance and artifact hashes before delivery.
recommend-review-reference-architecture
Recommend a conservative shadow-only review reference architecture from valid offline evidence. Use only when the user explicitly asks for a reference-architecture recommendation or uses the bundled synthetic fixture.