You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: GEMINI.md
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,17 @@
1
1
# kicad-happy
2
2
3
-
AI-powered electronics design review skills for KiCad 5-10. This repo provides structured Python analysis scripts and skill definitions for AI coding agents.
3
+
AI-powered electronics design review skills for KiCad 5-10. This document is auto-loaded into the Gemini CLI context and carries project-specific guidance for agents working in this repo.
4
4
5
-
## Skills
5
+
## Agent guidelines
6
+
7
+
1.**Skill activation**: invoke `activate_skill` before running the Python scripts in this repo. Each skill's `SKILL.md` carries procedural guidance, triggers, and constraints that aren't in the main system prompt.
8
+
2.**Context efficiency**:
9
+
-**Search first**: use `grep_search` to find points of interest in `.kicad_sch` and `.kicad_pcb` files — they routinely exceed 10,000 lines.
10
+
-**Targeted reads**: avoid reading whole schematic/PCB files. Use line numbers from `grep_search` for surgical `read_file` calls.
11
+
-**Trust analyzer output**: the Python analysis scripts are the source of truth for design data. Don't guess circuit behavior from raw S-expressions when a detector already covers it.
12
+
3.**Validation**: a change isn't done until the relevant `analyze_*.py` script has been re-run and produces no new warnings or regressions.
6
13
7
-
Each skill is defined in `skills/<name>/SKILL.md` with usage instructions and triggers. Read the relevant SKILL.md before using a skill.
Gemini CLI discovers skills from `~/.gemini/skills/` or `~/.agents/skills/`:
290
+
Gemini CLI discovers skills from `~/.gemini/skills/` or `~/.agents/skills/`. The `gemini skills link` command is the standard way to set up a development environment:
0 commit comments