Add emit-manufacturing-artifacts interactive template#192
Merged
Alan-Jowett merged 4 commits intomicrosoft:mainfrom Apr 6, 2026
Merged
Add emit-manufacturing-artifacts interactive template#192Alan-Jowett merged 4 commits intomicrosoft:mainfrom
Alan-Jowett merged 4 commits intomicrosoft:mainfrom
Conversation
Add an interactive template that guides users through generating all manufacturing deliverables from a DRC-clean PCB design. This is Step 7 of 9 in the hardware design workflow. The template composes 3 protocols into a 6-phase workflow: 1. Input validation (DRC status, board completeness, BOM data) 2. Fab service configuration (interactive — board params, assembly options, fab-specific formatting confirmation) 3. Artifact generation (Python script wrapping kicad-cli) 4. Pre-submission validation (cross-artifact consistency checks) 5. User review (Gerber inspection advisory, submission checklist) 6. Deliver artifacts (files + fab-specific submission instructions) Also updates: - manufacturing-artifact-generation protocol applicable_to to include emit-manufacturing-artifacts (per CONTRIBUTING.md convention) - Removes standalone composition note from the protocol Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new interactive PromptKit template to guide users through generating a complete, fab-ready manufacturing package (Gerbers/drills/BOM/PnP/assembly drawings) from a DRC-clean KiCad PCB, and wires it into the library’s manifest/protocol metadata.
Changes:
- Introduces
emit-manufacturing-artifactsinteractive template with a 6-phase user-gated workflow and deliverables checklist. - Updates
manufacturing-artifact-generationprotocol metadata so it’s marked as required by the new template (applicable_to). - Registers the new template in
manifest.yamlunder the hardware-design category.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| templates/emit-manufacturing-artifacts.md | New interactive template orchestrating manufacturing artifact generation and review gates. |
| protocols/reasoning/manufacturing-artifact-generation.md | Updates protocol metadata (applicable_to) to reflect template adoption. |
| manifest.yaml | Adds the new template entry so it’s discoverable/assemblable by the bootstrap engine. |
…tency
1. fab_service param described as 'JLCPCB, PCBWay' but the protocol
script uses lowercase tokens. Updated param description to specify
lowercase (jlcpcb, pcbway).
2. Gerber inspection was 'strongly recommended' but the PR design
decision says it is not optional. Changed to a required gate:
user MUST confirm they have inspected Gerbers before proceeding.
3. schematic_path is a required param but Phase 1 had fallback
language ('derive from board path if not provided'). Removed
the contradictory fallback since the param is always provided.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1. Script invocation only passes board_path but template has a separate schematic_path param. Documented that the script derives the schematic from the board path (same dir, same basename) and added a verification note to check consistency with the user-provided schematic_path. 2. PCBWay submission instruction said 'Upload Gerber files' but the deliverable is gerbers.zip. Updated to specify ZIP upload. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1. Description said 'and other services' but only jlcpcb/pcbway are defined. Narrowed in both template frontmatter and manifest. 2. Phase 3 referenced protocol Phases 2-7 and 9 but skipped Phase 8 (cross-artifact validation). The generated script should include validation checks. Updated to reference Phases 2-9. 3. gerbers.zip paths in JLCPCB and PCBWay instructions didn't specify the manufacturing/ prefix. Updated to manufacturing/ gerbers.zip. 4. Quality checklist said 'advised to inspect' but Phase 5 requires inspection as a hard gate. Updated to 'inspected and approved'. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add an \�mit-manufacturing-artifacts\ interactive template that guides users through generating all manufacturing deliverables from a DRC-clean PCB design. This is Step 7 of 9 in the hardware design workflow.
New Components
Changes to Existing Components
Design Decisions
Checklist