skills/prime/SKILL.md
Use when loading project context and architecture overview before starting implementation work, with optional focus on a specific area
npx skillsauth add giladresisi/ai-dev-env primeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Build understanding of the codebase - either high-level overview or focused deep-dive based on whether a focus area argument is provided.
/prime - High-level overview (architecture, patterns, structure)/prime "authentication system" - Deep-dive into specific area/prime "API endpoints" - Focus on particular functionalityCheck if focus area argument was provided:
Goal: Understand architecture, patterns, and structure with minimal token usage.
Use Bash to show directory tree (2 levels max):
tree -L 2 -I 'node_modules|__pycache__|.git|dist|build|.next|coverage|venv|.venv'
If tree not available, use ls or alternative.
Only if in a git repo:
git ls-files | wc -l
Read at most 3 files:
DO NOT read:
git status
git log -10 --oneline
Build mental model of the project:
DO NOT output this to CLI. Keep context in memory for answering questions.
Output only:
Finished priming project.
No detailed report. Context is loaded and ready for use.
Goal: Deep understanding of a specific area, ignore everything else.
From the focus area argument, identify key search terms.
Example: "authentication system" → keywords: auth, authentication, login, session, user
Use Grep to search for files containing focus keywords:
grep -r "keyword1\|keyword2" --files-with-matches --include="*.py" --include="*.ts" --include="*.js"
Or use Glob for pattern matching:
**/*auth*/**
**/*login*/**
No limit on file reading in focused mode.
Internalize understanding (keep in memory, don't output):
Detect structural problems that would block implementation:
Inconsistent Patterns:
Unclear Organization:
Implementation Blockers:
If structural blockers found:
Output detailed blocker report:
Finished priming. Found structural blockers for "[focus_area]":
**Inconsistent Patterns:**
- [Specific inconsistency with file examples]
- [Another inconsistency]
**Unclear Organization:**
- [Specific organizational issue with file examples]
**Implementation Blockers:**
- [Specific blocker that prevents implementation]
**Recommendation:** [Suggest refactoring or clarification needed before proceeding]
If NO structural blockers found:
Output only:
Finished priming focused on "[focus_area]".
DO NOT output detailed reports to CLI unless blockers are found. Context is loaded and ready for use.
testing
Creates a new git worktree in the auto-co-trader project for any purpose — optimization, regression, backtesting, brainstorming, etc. Use this skill when the user wants to CREATE or SET UP a new worktree — phrases like "prepare a new worktree", "set up a worktree", "create a new worktree for <purpose>", "prep a new worktree", "new worktree for autoresearch", "prepare optimization from [strategy]", or "create a worktree using [strategy]". Do NOT use this skill when the user is already in a worktree and wants to start/run/begin a task — that is handled by the relevant program file in the worktree session.
development
Use when running comprehensive project validation including tests, type checking, linting, API connectivity checks, and server startup verification
research
Use when performing a meta-level analysis of plan adherence after implementation to identify process improvements and suggest CLAUDE.md updates
documentation
Use when investigating a GitHub issue to identify root cause, assess impact, and create a fix strategy document