Testing workflow and code mapping guide for ElixirScope, an AI-powered execution cinema debugger for Elixir/BEAM with smart test routing and LLM bypass
A Cursor rules skill for ElixirScope development that optimizes testing workflow, bypasses slow LLM API tests by default, and provides code mapping guidance for the AI-powered execution cinema debugger.
This skill enforces smart testing practices for ElixirScope development:
**ALWAYS use `mix test.trace` by default** when running tests in ElixirScope development. This bypasses slow live LLM API tests and provides fast feedback.
```bash
mix test.trace
```
**Only run `mix test.all` or `mix test.live` when:**
```bash
mix test.all
mix test.live
```
Use the `mixsw` command alias to suppress compiler warnings and show only errors:
```bash
mixsw test.trace
mixsw compile
```
Before making changes to ElixirScope code:
**Check CURSOR_CODE_MAPPING.md** for:
**Check CURSOR_IMPLEMENTATION_GUIDE.md** for:
When working with date-dependent features or logging, remember that the current date context is **May 28, 2025**.
**Standard development loop:**
1. Make code changes
2. Run `mix test.trace` for fast feedback
3. If test fails, debug with tracing output
4. Before committing, run `mix test.all` for full validation
5. Use `mixsw` to reduce noise in output
**Example session:**
```bash
mixsw test.trace
mixsw test.all
```
ElixirScope uses a test configuration pattern to bypass slow LLM calls:
When writing new tests involving LLM features, follow this pattern:
```elixir
test "parses trace data" do
# Uses mocked/stubbed responses
end
@tag :live_llm
test "generates insights via LLM" do
# Makes actual API calls
end
```
**Bad - slow default test run:**
```bash
mix test
```
**Good - fast traced tests:**
```bash
mix test.trace
```
**Good - pre-commit validation:**
```bash
mixsw test.all
```
**Good - LLM feature development:**
```bash
mixsw test.live
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/elixirscope-testing-and-llm-best-practices/raw