assembly-guide
Skill1 starsChanged 5 days agoUnlicenseView on GitHub
Authors, lints, renders, and audits step-by-step hardware, CAD, and electronics assembly/teardown guides with color-matched visual callouts, interactive HTML, and print PDFs. Use when creating assembly guides, build instructions, or repair manuals.
In this repository76 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ad-copy-writerSkill
- ae-inspect-describeSkill
- algorithmic-artSkill
- animation-directorSkill
- brainstorming-and-ideatingSkill
- brainstorming-research-ideasSkill
- brainstormingSkill
- brief-to-tasksSkill
- canvas-designSkill
- cli-designSkill
- cli-output-hierarchySkill
- commit-messageSkill
- craft-uiSkill
- creative-directorSkill
- design-briefSkill
- design-flowSkill
- design-mock-auditSkill
- design-reviewSkill
- design-system-patternsSkill
- design-tokensSkill
- deslopifySkill
- diagnoseSkill
- diagramming-app-routesSkill
- doc-restructureSkill
- eval-criticSkill
- formatting-open-markdownsSkill
- frontend-designSkill
- frontend-slidesSkill
- gdocs-tab-writerSkill
- gemini-apiSkill
- gif-creationSkill
- github_repo_researchSkill
- grill-meSkill
- grill-with-docsSkill
- hallmarkSkill
- handoffSkill
- html-presentationSkill
- humanizerSkill
- i-have-adhdSkill
- improve-codebase-architectureSkill
- information-architectureSkill
- install-skill-from-githubSkill
- markdown-output-hierarchySkill
- marketing-psychologySkill
- merge-latestSkill
- modern-web-performanceSkill
- motion-designSkill
- pdf-readerSkill
- pm-brainstormingSkill
- pm-discovery-brainstormSkill
- product-marketingSkill
- prototypeSkill
- pull-requestSkill
- ralph_loopSkill
- react-best-practicesSkill
- review-loopSkill
- sandbox-explainerSkill
- skill-creatorSkill
- skill-optSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
Read references/instructional_grammar.md before drafting the first guide in a session.
- Very specific: line 51
Hazards before actions (
G-WARN-ORDER): Every hazard or pin-alignment warning must use a dedicated {"type": "warning", "text": "..."} … - Very specific: line 155
Use a high-contrast light/mid-slate surface palette (#E2E8F0 housing, #CBD5E1 / #94A3B8 / #B4C6DC PCBs, muted brass #D4B475 for base-visual …
≈ “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.
Files
Step-by-Step Assembly Guides (assembly-guide)
Produces assembly, maintenance, replacement, and teardown guides for whatever context the user supplies. Every build ships two deliverables from one source: an interactive HTML guide for on-screen use and a print PDF for the bench.
Bundled Toolkit & References
<!-- mdformat off(prevent table wrapping) -->| Resource | Purpose |
| references/instructional_grammar.md | Unified step layout, procedure types, contrast-first colors, neutral visuals, marker shapes, camera zoom & projection, callout icons, pacing, and builder register |
| references/schema_and_visual_authoring.md | guide.json schema, 0-100 camera-projected marker coordinates, visual sources, and Markdown rules |
scripts/render_guide.py | Zero-dependency CLI: lint, build (HTML, PDF, Markdown), audit, recolor, init-sample |
<!-- mdformat on -->1. Five Communication Laws
Read references/instructional_grammar.md before drafting the first guide in a session. Every guide obeys five laws:
- Dual redundancy: A builder can complete each step from the 1-3 visuals alone or from the bullets alone.
- Color-matched 1-to-1 spatial binding (
G-COMPOUND-ACTION,G-FASTENER-COUNT-SYNC,G-COLOR-SYNC): Each spatial bullet gets a color in contrast-first order (red→blue→green→orange→magenta→cyan→yellow;blackfor non-spatial bullets) and maps 1-to-1 to a matching marker (circle,rect,arrow,arc, orloupe). Never chain two physical actions on different parts into one colored bullet (G-COMPOUND-ACTION, e.g., placing 4x hex spacers and pressing a HAT onto a GPIO header, or sliding a servo to tension a belt and checking 4 mounting holes)—split them into separate colored bullets. Every bullet namingN >= 2discrete screws, spacers, standoffs, or inserts must set"fastener_count": Nand bind toNmatchingcirclemarkers (G-FASTENER-COUNT-SYNC). Leave zero unreferenced orphan markers (G-COLOR-SYNC). At most 3 marker colors per visual. - One step, one physical objective: 1-3 visuals and ≤ 7 bullets for one coherent transition. Never mix unrelated subsystems.
- Hazards before actions (
G-WARN-ORDER): Every hazard or pin-alignment warning must use a dedicated{"type": "warning", "text": "..."}bullet object (never"type": "action"or"color": "black"with a⚠prefix) placed strictly before the action bullet where the mistake can happen. - Observable datums: Replace "securely" and "properly" with fastener sizes
and counts, torque, angles, visual pass/fail checks, and expected feel. Keep
designer data (CAD identifiers,
X/Y/Zheights) out of builder copy.
Guide copy describes the product being built. It never references other publishers' guide styles or calls itself "print-ready".
2. Context Intake & Procedure Type
Adapt to whatever input the user provides without inventing dimensions:
- CAD project or BOM: Extract part names, fastener schedule, insert and
nut-trap locations, cable channels, and mating axes. Map model IDs to human
names with
display_names. Always use 3D renders of the actual part geometry ("src") for printed/COTS parts staging and assembly steps—never represent 3D parts with generic 2D SVG circles/rectangles or placeholder boxes. For multi-part sub-assemblies (e.g., servo horn + hub plate + pulley stack, bearing + spindle + belt coupling, or multi-tier PCB stacks), provide paired 3D renders: an Exploded Stack view (coaxial alignment line + numbered1..Nstack order naming hidden underside pockets, deferred screw holes, and hex key sizes) and an Assembled In-Context (ghosted/X-ray) view (obstructing outer housings rendered semi-transparent so internal belt or gear engagement is visible). - Photos, video frames, or draft notes: Sequence frames from a consistent builder viewpoint and group them into 1-up, 2-up, or 3-up steps.
- Lab rig, rack setup, or software workflow: Decompose into atomic state
changes and use
"tool_lineup","ui_screen", and"svg"visuals.
Choose the procedure type (archetype):
assembly: First-time build. Stage tools and fasteners up front, build subassemblies in collision-free order, add milestone notes on long builds, and end with calibration or a self-test.roundtrip(default for repairs): Disassembly → parts preparation → explicit assembly → functional check and tool stowage. Required whenever reassembly adds torque limits, routing exclusions, single-use consumables, seal or datum checks, or calibration.teardown: Symmetric disassembly that closes with a reverse-order reassembly note. Only valid when reassembly is a true mirror.
3. Standard Guide Arc
- Introduction and variant note: Exact scope; point sibling hardware revisions elsewhere up front.
- Tools step: Exact sizes in a neutral lineup with black bullets; box at most one easily confused item. Include workholding and surface protection.
- State preparation and isolation: Powered positioning and hot operations first, then cooldown, power off and unplug, and shielding.
- Atomic disassembly steps: Loosen vs. remove, ring counts that match fastener counts, latch warnings before connectors.
- Parts preparation: Stage new parts and consumables with quantities,
showing 3D renders of every printed/COTS part (never flat 2D circles or
generic boxes), separating machine screws/nuts/washers from brass
heat-set inserts, listing required power supplies and data cables,
calling out exact COTS SKUs + incompatible lookalike warnings, marking
optional vs. required components with exact search queries and package
dimensions, and disambiguating unused kit parts (e.g., driven
25Tsplined servo horn vs. unused smooth-bore idler disc) or COTS vs. printable options (e.g., fiberglassGT2belt vs.TPU 95Aprinted belt, or why a printed hub plate + pulley stack is used instead of a smooth-bore aluminum stepper pulley). - Assembly, counter-torque, and datum checks: Counter-hold before torque,
state rotation direction, indent
ⓘtorque checks, pair Exploded Stack + Assembled In-Context (ghosted) 3D renders on multi-part sub-assemblies, distinguish integral printed floor posts from discrete hardware standoffs, and never invent port labels ("Port 1") when a COTS board has unmarked parallel headers. - Closed-loop verification and stowage: Observable functional test, stow jigs and shields, short completion note.
4. Workflow: Author → Build → Verify Once → Deliver
Read
references/schema_and_visual_authoring.md
for the guide.json schema and marker coordinates.
# Resolve SKILL_DIR to the directory containing this SKILL.md
SKILL_DIR="<path-to-assembly-guide-skill>"
RG="python3 $SKILL_DIR/scripts/render_guide.py"- Author
guide.jsonnext to the user's project or in a scratch output directory (keep generated preview artifacts out of version-controlled source trees unless requested). When rendering 3D CAD views:- Render every step visual at an exact
4:3aspect ratio (800 × 600or1200 × 900) and compute0-100marker coordinates directly from the 3D camera projection (WorldToDisplay()/project()) so rings land dead-center on holes and bosses. - Choose camera angles (
-70°to-90°for underside pockets) that never occlude a boss behind a skirt wall, and zoom tightly onto small active sub-boards (50–75%frame occupancy) instead of showing a tiny board inside a full-enclosure overview. - For tightly clustered fasteners in perspective or exploded stacks, use a
single
arroworrectmarker instead of overlappingcirclerings (G-MARKER-OVERLAP), and keep boxes/arrows clear of text labels. When framing an angled linear feature in an isometric view (e.g., a 40-pin GPIO header or 22-pin edge connector), set"angle"(in degrees) on"shape": "rect"with tight"w"/"h"bounds (w * h <= 1600) so the rotated rectangle wraps only the connector (G-OVERSIZED-RECT). - Use a high-contrast light/mid-slate surface palette (
#E2E8F0housing,#CBD5E1/#94A3B8/#B4C6DCPCBs, muted brass#D4B475for base-visual standoffs so bright marker overlays stay dominant,ambient >= 0.45) so foreground mean luminance stays>= 65/255(A-LOW-CONTRAST) and dark#1F2937feature edges stay crisp; never use dark charcoal/navy PCB fills (#1E293B,#3F3F46). - Prevent Gouraud/smooth-shading dark diagonal triangles on flat faces
with counterbored holes by splitting mesh vertices at sharp creases via
mesh.compute_normals(cell_normals=False, point_normals=True, split_vertices=True, feature_angle=30.0)before rendering at a4:3camera projection with#1F2937feature edges.
- Render every step visual at an exact
- Lint until clean:
$RG recolor guide.json(contrast-first colors), then$RG lint guide.json --strict. Build both deliverables with the rendered audit:
$RG build guide.json --html out/guide.html --pdf out/guide.pdf \ --markdown out/guide.md --audit --strict--auditrenders the guide in headless Chrome and checks text that touches or crosses frame edges, lineup labels wider than their slots, > 3 marker colors per visual, overlapping circle markers (G-MARKER-OVERLAP), accent stripes on rounded boxes, misaligned table columns, and PDF pagination (orphaned milestones, stranded step headers). Images are embedded by default so the HTML is portable. When--pdfis set, the HTML header gets a Download PDF button that links to the PDF by relative path, so publish both files in the same directory (or set"pdf_url"inguide.json). Fix every lint and audit finding before the visual check.Do one visual check, then at most one fix cycle. The lint and audit gates already catch layout, color, copy, and pagination defects, so the visual check covers only what automation cannot judge. Render the PDF (
pdftoppm -png -r 70 out/guide.pdf out/pg) and look at every page for:- Marker placement & zoom: Each marker sits dead-center on the exact
feature its bullet names (the right screw, boss, row, or connector),
circles do not overlap (
G-MARKER-OVERLAP), boxes do not cross over diagram text labels, and small sub-boards are zoomed large enough to inspect clearly. - Diagram sense: Schematic labels use builder names, and each visual shows something the bullets need (drop decorative or redundant visuals rather than annotating them).
- Copy sense: Bullets still read naturally after display-name substitution and coordinate removal (no dangling "at" or empty parentheses, no repeated articles like "three the bearing deck").
- Legibility: Rings and labels are readable at page size.
Fix everything found in a single edit pass, rebuild with
--audit --strict, and confirm the fixed pages. If a problem survives that one fix cycle, report it to the user with the page image instead of looping.- Marker placement & zoom: Each marker sits dead-center on the exact
feature its bullet names (the right screw, boss, row, or connector),
circles do not overlap (
- Deliver both files together. Publish the HTML and PDF side by side in the output or static web directory and link both: the HTML for on-screen use, the PDF for the bench.
5. Quality Checklist
lint --strictandbuild --audit --strictboth pass with 0 warnings.- Every 3D-printed or COTS mechanical part is shown with a 3D render of
its actual geometry (
"src"), never generic 2D SVG circles/boxes or unknowntool_lineupplaceholder shapes (G-GENERIC-PART-SVG,G-PLACEHOLDER-SHAPE). - Multi-part sub-assemblies include both an Exploded Stack 3D render
(coaxial alignment line + numbered
1..Nstack order) and an Assembled In-Context (ghosted) 3D render (G-SUBASSEMBLY-SINGLE-IMAGE). - Step visuals are rendered at
4:3with camera-projected (0-100) marker coordinates, unobstructed hole visibility, close-up zoom framing for small sub-boards (50–75%of frame), and zero overlapping circle markers or label collisions (G-MARKER-OVERLAP). - BOM and step copy separate heat-set inserts from machine screws, include power supplies/cables and exact COTS SKUs + lookalike warnings, mark optional parts with search queries, distinguish integral printed bosses from discrete standoffs, and explain unmarked parallel headers.
- Every spatial bullet color appears on a marker in the same step, in contrast-first order, with ≤ 3 colors per visual.
- Staging steps use black bullets and at most one neutral box.
- Every
⚠sits above the action it guards. - Fastener counts in bullets match ring counts on the visuals.
- No CAD identifiers, coordinates, marker color names, or meta copy in builder-facing text or diagram labels.
teardownis never used when torque values, consumables, or calibration exist.- One visual check passed (marker placement, diagram and copy sense, legibility), and both the HTML and PDF were delivered.
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
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.

