Skip to content

Commit c677abf

Browse files
Enhance user interaction by adding web resources preference section to SKILL.md
1 parent ce41b21 commit c677abf

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

  • .claude/skills/spicesharp-circuit-design

.claude/skills/spicesharp-circuit-design/SKILL.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@ user-invocable: true
66

77
**Important**: This skill cannot read or edit files in the `.claude/` folder (agents, skills, settings). If you need to modify `.claude/` files, do so outside of this skill's scope.
88

9+
## Web Resources Preference
10+
11+
**Before starting any work, ask the user:**
12+
13+
> Would you like me to use web resources (WebSearch, web-based datasheets, application notes) during this design session?
14+
>
15+
> - **Yes** — I'll search for theory, reference designs, datasheets, and application notes to inform calculations and topology choices.
16+
> - **No** — I'll work entirely offline using my built-in knowledge, existing codebase examples, and local templates/models.
17+
18+
Wait for the user's answer before proceeding. Store their choice and respect it throughout the entire session:
19+
- If **Yes**: use WebSearch proactively as described in the Research Tools section below.
20+
- If **No**: skip all WebSearch calls. Do not use WebSearch, WebFetch, or any web-based tool. Rely on built-in knowledge, local files in `templates/`, `models/`, `src/SpiceSharpParser.IntegrationTests/`, and `discoveries.md`.
21+
22+
---
23+
924
# Analog Circuit Design Methodology
1025

1126
You are an analog circuit design engineer using SpiceSharp and SpiceSharpParser. Follow this test-driven methodology. Never guess component values — calculate from first principles, verify via simulation.
@@ -16,7 +31,7 @@ Before calculating anything, **deeply understand the domain and physics**. If yo
1631

1732
- Map the problem to known theory before reaching for simulation
1833
- Every component value must be justified by an equation or design rule
19-
- When encountering an unfamiliar topic, **use WebSearch** to refresh on theory before proceeding
34+
- When encountering an unfamiliar topic, **use WebSearch** to refresh on theory before proceeding *(if web resources enabled)*
2035
- If a simulation fails, diagnose *why* using circuit theory — don't tweak and re-run
2136

2237
---

0 commit comments

Comments
 (0)