ai-toolkit-rules
Mandatory engineering, security, testing, git, performance, quality, and response rules. Claude MUST load this skill for every…
Runs linter+typechecker with auto-detected toolchain (ruff/mypy, eslint/tsc, phpstan, golangci-lint, clippy). Triggers: lint, typecheck, static analysis.
Claude Code
$ npx -y skills add softspark/ai-toolkit --skill lint --agent claude-code
Codex
$ npx skills add softspark/ai-toolkit --skill lint -a codex -y
Cursor
$ npx skills add softspark/ai-toolkit --skill lint -a cursor -y
Gemini CLI
$ npx skills add softspark/ai-toolkit --skill lint -a gemini-cli -y
GitHub Copilot
$ npx skills add softspark/ai-toolkit --skill lint -a github-copilot -y
OpenCode
$ npx skills add softspark/ai-toolkit --skill lint -a opencode -y
Windsurf
$ npx skills add softspark/ai-toolkit --skill lint -a windsurf -y
name: lint description: "Runs linter+typechecker with auto-detected toolchain (ruff/mypy, eslint/tsc, phpstan, golangci-lint, clippy). Triggers: lint, typecheck, static analysis." effort: low disable-model-invocation: true argument-hint: "[path]" allowed-tools: Bash, Read
$ARGUMENTS
Run linting and type checking based on detected project type.
Run the bundled script to detect available linters:
python3 ${CLAUDE_SKILL_DIR}/scripts/detect-linters.py ./lint [path]
| Project Type | Lint Command | Type Check | |--------------|--------------|------------| | **Python** | `ruff check .` | `mypy .` | | **TypeScript/Node** | `npx eslint .` | `npx tsc --noEmit` | | **PHP** | `./vendor/bin/phpstan analyse` | - | | **Go** | `golangci-lint run` | - | | **Rust** | `cargo clippy` | - | | **Flutter/Dart** | `dart analyze` | - |
# Linting ruff check . # Type checking mypy . # Auto-fix ruff check --fix . ruff format .
# Linting npx eslint . # Type checking npx tsc --noEmit # Auto-fix npx eslint --fix .
# Static analysis ./vendor/bin/phpstan analyse # Code style ./vendor/bin/phpcs ./vendor/bin/phpcbf # auto-fix
# Generic pattern - replace {container} with your app container
docker exec {container} make lint
docker exec {container} make typecheck| Error | Fix | |-------|-----| | Missing type hints | Add type annotations | | Unused imports | Remove or use `# noqa: F401` | | Line too long | Break line or disable for that line | | Import order | Let linter fix with `--fix` |
AI coding toolkit with machine-enforced safety, 116 skills, 44 agents, lifecycle hooks, persona presets, opt-in plugin packs, and benchmark tooling.
Mandatory engineering, security, testing, git, performance, quality, and response rules. Claude MUST load this skill for every…
Searches past coding sessions for observations, decisions, context. Triggers: mem-search, recall session, past work, prior…
Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. Triggers: a11y, accessibility, WCAG, EAA, ARIA, contrast, keyboard, screen…
Creates new specialized agents with frontmatter, tools, delegation. Triggers: new agent, create agent, agent scaffold,…
Analyzes code quality, complexity, patterns across codebase. Triggers: quality report, hotspot scan, code analysis, architecture…
API design: naming, versioning, pagination, idempotency, OpenAPI, error contracts and safe retries. Triggers: API design, REST,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.