From claude-optimize
Use when running /optimize:init or /optimize:audit to detect project type, language, framework, package manager, CI/CD system, and existing Claude Code configuration. Triggers on codebase analysis for optimization, project detection for Claude Code setup, or environment assessment. Do NOT trigger on general coding tasks.
npx claudepluginhub btcdlabs/btcd-cc-marketplace --plugin claude-optimizeThis skill uses the workspace's default tool permissions.
Analyzes a project's codebase to detect its technology stack, existing Claude Code configuration, and optimization opportunities. This skill powers the detection phase of `/optimize:init` and `/optimize:audit`.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Designs, implements, and audits WCAG 2.2 AA accessible UIs for Web (ARIA/HTML5), iOS (SwiftUI traits), and Android (Compose semantics). Audits code for compliance gaps.
Analyzes a project's codebase to detect its technology stack, existing Claude Code configuration, and optimization opportunities. This skill powers the detection phase of /optimize:init and /optimize:audit.
ALWAYS use the bundled script for codebase detection. Do NOT manually check file patterns or parse dependency files.
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/codebase_detector.py --json
The script automatically detects:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/env_inventory.py --json
The script catalogs all existing Claude Code components: skills, agents, hooks, MCP servers, and memory files.
Present findings as a structured assessment:
## Project Profile
**Language**: [primary language]
**Framework**: [if detected]
**Package Manager**: [detected PM]
**CI/CD**: [if detected]
**Test Framework**: [if detected]
**Linter/Formatter**: [if detected]
## Claude Code Status
| Component | Status | Details |
|-----------|--------|---------|
| CLAUDE.md | present/missing | [line count, token estimate] |
| Settings | present/missing | [# allow rules, # deny rules] |
| Commands | [count] | [list names] |
| Skills | [count] | [list names] |
| Agents | [count] | [list names] |
| Hooks | [count] | [types configured] |
| MCP Servers | [count] | [list names] |
| Memory Files | [count] | [total size] |
| Session Logs | [count] | [date range] |
## Recommendations
[Based on detected stack, recommend specific optimizations]