Provides Aider with domain-specific context for a Clojure-based network modeling system (nextdoc/sketch). Automatically loads core files for diagrams, state management, testing, and browser components.
This skill configures Aider to work effectively with the nextdoc/sketch Clojure project for domain network modeling.
Automatically loads essential project files into Aider's context to enable intelligent code assistance for a Clojure domain modeling system. The configuration optimizes Aider for working with diagram generation, state management, testing utilities, and browser components.
When this skill is activated, configure Aider with the following settings:
1. **Core Configuration**
- Enable cache prompts for faster responses
- Disable auto-commits (manual control over git commits)
- Enable watch-files for automatic file monitoring
- Allocate 10,000 thinking tokens for complex reasoning
- Enable dark mode interface
2. **Context Files to Load**
Load these files into the working context in this order:
- `doc/home.md` — Project documentation and domain overview
- `src/io/nextdoc/sketch/core.clj` — Core domain logic
- `src/io/nextdoc/sketch/diagrams.clj` — Diagram generation utilities
- `src/io/nextdoc/sketch/run.clj` — Runtime execution logic
- `src/io/nextdoc/sketch/state.clj` — State management system
- `src/io/nextdoc/sketch/test.clj` — Testing utilities
- `src/io/nextdoc/sketch/browser/diagram_app.cljs` — ClojureScript browser application
- `src/io/nextdoc/sketch/browser/host-page.css` — Browser styling
3. **File Watching**
- Monitor all loaded files for changes
- Automatically refresh context when files are modified
4. **Testing Configuration**
- Testing commands are available but disabled by default
- Example test command: `bb count-text-elements`
- Auto-test is disabled to prevent unwanted test runs
5. **When Assisting with Code**
- Consider the domain modeling context from loaded files
- Maintain consistency with existing patterns in core.clj and diagrams.clj
- Respect the state management patterns in state.clj
- Follow ClojureScript conventions for browser components
- Reference documentation in home.md for domain-specific concepts
```bash
"How does the diagram generation work?"
"Update the state management to support undo/redo"
"Add a new test case for the domain model"
"Fix the browser rendering issue in diagram_app.cljs"
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-context-for-clojure-network-modeling/raw