Prompt Recipes
This page contains ready-to-use prompts for common wire harness design tasks. Copy, modify, and use these as starting points.
Design Creation
Create a Row of Connectors
Create 5 connectors named J1 through J5.
Place them in a horizontal row starting at position (100, 200).
Space them 150 units apart.
Each connector should have 8 pins.Variations:
- Change "horizontal" to "vertical" for column layout
- Adjust pin count per connector
- Add part numbers: "Use part number MOLEX-123 for all"
Create Component with Specific Pins
Create a 12-pin connector called "ECU_MAIN" with these pin names:
- Pin 1: VBAT
- Pin 2: GND
- Pin 3-6: CAN_H, CAN_L, LIN, K_LINE
- Pin 7-12: AIN1 through AIN6Generate Wire Harness from Pin List
Create wires connecting these pin pairs:
ECU.PIN1 to FUSE_BOX.PIN3 (red, 14AWG)
ECU.PIN2 to CHASSIS.GND (black, 14AWG)
ECU.CAN_H to BCM.CAN_H (yellow, 22AWG)
ECU.CAN_L to BCM.CAN_L (green, 22AWG)Design Queries
Find Unconnected Pins
List all components that have unconnected pins.
Show the component name and which pins are unconnected.Find Wires by Property
Show me all wires that:
- Have no color assigned, OR
- Have gauge less than 18AWG, OR
- Are missing a part numberAudit Power Wires
List all wires connected to pins named "VBAT", "VCC", "PWR", or "+12V".
For each, show: wire name, gauge, and calculated length.
Flag any power wires using gauge smaller than 16AWG.List Components Without Part Numbers
Find all components where the part number is empty or "TBD".
Show the component name and how many pins it has.Design Modifications
Bulk Update Wire Colors
Update all wires connected to pins containing "GND" or "GROUND":
- Set color to black (BK)
- Set gauge to 14AWG if currently smallerRename Components with Prefix
Rename all connectors that start with "CONN" to start with "J" instead.
Example: CONN1 becomes J1, CONN_MAIN becomes J_MAIN.Update Wire Gauge by Current
For all wires, set the gauge based on this table:
- If length < 1m and current < 5A: 22AWG
- If length < 2m and current < 10A: 18AWG
- If length < 3m and current < 15A: 16AWG
- Otherwise: 14AWG
Assume current based on pin names:
- PWR/VBAT pins: 15A
- Signal pins: 1A
- GND pins: 15AAdd Length Margin
For all wires, add 10% margin to the calculated length.
Round up to the nearest 50mm.
This accounts for service loops and routing tolerance.Validation Prompts
Pre-Manufacturing Check
Perform a pre-manufacturing validation:
1. List any unconnected pins
2. List any wires missing color or gauge
3. List any components missing part numbers
4. Check for duplicate wire names
5. Verify all bundles have at least one wire routed through themElectrical Validation
Check for electrical issues:
1. Are there any pins with multiple wires connected? (potential short)
2. Are power and ground wires using appropriate gauge?
3. Are signal wires appropriately smaller gauge?
4. Are there any wires with unusually long lengths? (>5m)DigiKey Data Verification
For each component with a DigiKey part number:
1. Verify pin count matches the DigiKey specification
2. List any components where the manufacturer doesn't match DigiKey data
3. Show components that might have substitute parts availableDocumentation Generation
Generate Wire Table
Create a wire summary table with columns:
- Wire Name
- From (Component.Pin)
- To (Component.Pin)
- Color
- Gauge
- Length (mm)
Sort by wire name.Generate Connector Pinout Report
For each connector, generate a pinout report:
- Connector name and part number
- Pin count
- For each pin: number, name, connected wire, destinationExport Summary for Quote
Generate a summary suitable for quoting:
- Total number of connectors (by type)
- Total wire length (by gauge)
- Number of splices
- Estimated manufacturing complexity (simple/medium/complex)Geometry & Layout
Align Components
Align all connectors named J1 through J10 to the same Y coordinate (300).
Keep their X positions unchanged.Space Components Evenly
Take connectors J1, J2, J3, J4, J5 and redistribute them evenly
between X=100 and X=600, keeping the same Y position.Create Bundle Path
Create a bundle path starting at ECU_MAIN,
passing through junction points at (300, 200) and (500, 200),
then branching to J1 at (600, 100) and J2 at (600, 300).Working with Libraries
Find Similar Components
Search the library for connectors that match:
- 12 pins or more
- Manufacturer: Molex or TE Connectivity
- Suitable for automotive use
Show part numbers and pin counts.Replace Component from Library
Replace the component named "PLACEHOLDER_ECU" with:
- Library component: "BOSCH_ECU_48PIN"
- Keep all existing wire connections
- Map pins by number (pin 1 to pin 1, etc.)Script Generation
Generate Parameterized Script
Write a script that creates a connector row where I can change:
- Number of connectors (default: 5)
- Starting position (default: 100, 200)
- Spacing (default: 150)
- Pin count per connector (default: 8)
- Name prefix (default: "J")
Use variables at the top that I can modify.Generate Reusable Wire Creation Script
Write a script to connect two connectors pin-for-pin.
Parameters:
- Source connector name
- Destination connector name
- Wire color
- Wire gauge
- Wire name prefix
The script should connect pin 1 to pin 1, pin 2 to pin 2, etc.Troubleshooting Prompts
Debug Wire Routing
Wire W23 shows an unexpected length of 5000mm.
Trace its path through bundles and show each segment length.
Are there any routing issues?Find Orphaned Elements
List any elements that appear to be orphaned:
- Anchors not connected to bundles
- Bundle segments with no wires
- Pins with no component
- Wires with missing endpointsCheck for Common Mistakes
Scan the design for common mistakes:
- Components placed on top of each other
- Wires with zero length
- Bundles that cross without a splice
- Duplicate component namesTips for Better Results
Be Specific About Quantities
Good
"Create 5 connectors named J1 through J5"
Vague
"Create some connectors"
Include Units
Good
"Space them 150 units apart" or "Set length to 2.5m"
Ambiguous
"Space them apart" or "Make it longer"
Specify Formats
Good
"Wire color: red (RD) using DIN 47100 codes"
Unclear
"Make the wire red"
Describe the End Goal
Good
"I'm building a power distribution harness with a main fuse box and 6 loads"
Task-only
"Add a fuse box"
Next Steps
- Scripting Basics - Understand the generated code
- Trust & Verification - Verify AI outputs before production
- Command Reference - Full API documentation