MR
Mayur Rathi
@github
⭐ 34.1k GitHub stars

Legacy-Circuit-Mockups

Legacy-Circuit-Mockups是一款design方向的AI技能,核心价值是Generate breadboard circuit mockups and visual diagrams using HTML5 Canvas drawing techniques,可用于解决开发者在design领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。

Generate breadboard circuit mockups and visual diagrams using HTML5 Canvas drawing techniques. Use when asked to create circuit layouts, visualize electronic component placements, draw breadboard diag

Last verified on: 2026-05-30
mkdir -p ./skills/legacy-circuit-mockups && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/legacy-circuit-mockups/SKILL.md -o ./skills/legacy-circuit-mockups/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# Legacy Circuit Mockups


A skill for creating breadboard circuit mockups and visual diagrams for retro computing and electronics projects. This skill leverages HTML5 Canvas drawing mechanisms to render interactive circuit layouts featuring vintage components like the 6502 microprocessor, 555 timer ICs, EEPROMs, and 7400-series logic gates.


When to Use This Skill


- User asks to "create a breadboard layout" or "mockup a circuit"

- User wants to visualize component placement on a breadboard

- User needs a visual reference for building a 6502 computer

- User asks to "draw a circuit" or "diagram electronics"

- User wants to create educational electronics visuals

- User mentions Ben Eater tutorials or retro computing projects

- User asks to mockup 555 timer circuits or LED projects

- User needs to visualize wire connections between components


Prerequisites


- Understanding of component pinouts from bundled reference files

- Knowledge of breadboard layout conventions (rows, columns, power rails)


Supported Components


Microprocessors & Memory


| Component | Pins | Description |

|-----------|------|-------------|

| W65C02S | 40-pin DIP | 8-bit microprocessor with 16-bit address bus |

| 28C256 | 28-pin DIP | 32KB parallel EEPROM |

| W65C22 | 40-pin DIP | Versatile Interface Adapter (VIA) |

| 62256 | 28-pin DIP | 32KB static RAM |


Logic & Timer ICs


| Component | Pins | Description |

|-----------|------|-------------|

| NE555 | 8-pin DIP | Timer IC for timing and oscillation |

| 7400 | 14-pin DIP | Quad 2-input NAND gate |

| 7402 | 14-pin DIP | Quad 2-input NOR gate |

| 7404 | 14-pin DIP | Hex inverter (NOT gate) |

| 7408 | 14-pin DIP | Quad 2-input AND gate |

| 7432 | 14-pin DIP | Quad 2-input OR gate |


Passive & Active Components


| Component | Description |

|-----------|-------------|

| LED | Light emitting diode (various colors) |

| Resistor | Current limiting (configurable values) |

| Capacitor | Filtering and timing (ceramic/electrolytic) |

| Crystal | Clock oscillator |

| Switch | Toggle switch (latching) |

| Button | Momentary push button |

| Potentiometer | Variable resistor |

| Photoresistor | Light-dependent resistor |


Grid System


javascript
// Standard breadboard grid: 20px spacing
const gridSize = 20;
const cellX = Math.floor(x / gridSize) * gridSize;
const cellY = Math.floor(y / gridSize) * gridSize;

Component Rendering Pattern


javascript
// All components follow this structure:
{
  type: 'component-type',
  x: gridX,
  y: gridY,
  width: componentWidth,
  height: componentHeight,
  rotation: 0,  // 0, 90, 180, 270
  properties: { /* component-specific data */ }
}

Wire Connections


javascript
// Wire connection format:
{
  start: { x: startX, y: startY },
  end: { x: endX, y: endY },
  color: '#ff0000'  // Wire color coding
}

Step-by-Step Workflows


Creating a Basic LED Circuit Mockup


1. Define breadboard dimensions and grid

2. Place power rail connections (+5V and GND)

3. Add LED component with anode/cathode orientation

4. Place current-limiting resistor

5. Draw wire connections between components

6. Add labels and annotations


Creating a 555 Timer Circuit


1. Place NE555 IC on breadboard (pins 1-4 left, 5-8 right)

2. Connect pin 1 (GND) to ground rail

3. Connect pin 8 (Vcc) to power rail

4. Add timing resistors and capacitors

5. Wire trigger and threshold connections

6. Connect output to LED or other load


Creating a 6502 Microprocessor Layout


1. Place W65C02S centered on breadboard

2. Add 28C256 EEPROM for program storage

3. Place W65C22 VIA for I/O

4. Add 7400-series logic for address decoding

5. Wire address bus (A0-A15)

6. Wire data bus (D0-D7)

7. Connect control signals (R/W, PHI2, RESB)

8. Add reset button and clock crystal


Component Pinout Quick Reference


555 Timer (8-pin DIP)


| Pin | Name | Function |

|:---:|:-----|:---------|

| 1 | GND | Ground (0V) |

| 2 | TRIG | Trigger (< 1/3 Vcc starts timing) |

| 3 | OUT | Output (s

🎯 Best For

  • Developers scaffolding new projects
  • Prototype builders
  • UI designers
  • Product designers
  • Data visualization designers

💡 Use Cases

  • Bootstrapping React components
  • Creating API route handlers
  • Generating component mockups
  • Creating design system tokens

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Legacy-Circuit-Mockups to Your Work

    Provide context for your task — paste source material, describe your audience, or share existing work to guide the AI.

  4. 4

    Review and Refine

    Edit the AI output for accuracy, tone, and completeness. Add human insight where the AI lacks context.

❓ Frequently Asked Questions

Can I customize the generated output?

Yes — modify the skill's prompt instructions to match your project conventions and coding style.

Does this work with Figma?

Some design skills integrate with Figma plugins. Check the Works With section for supported tools.

What chart types does this support?

Check the skill content for supported chart types — most support bar, line, scatter, and heatmap.

Does Legacy-Circuit-Mockups generate production-ready design specs?

It generates detailed specifications that developers can use directly. Review and adjust for your specific design system.

How do I install Legacy-Circuit-Mockups?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/legacy-circuit-mockups/SKILL.md, ready to use.

⚠️ Common Mistakes to Avoid

Using generated code without understanding

Understand what generated code does before shipping it to production.

Skipping usability testing

AI-generated designs should be validated with real users before development.

Choosing wrong chart types

Let the data shape dictate the visualization, not the other way around.

Not reading the full skill

Skills contain important context and edge cases beyond the quick start.

🔗 Related Skills