A systematic workflow for feature development and bug fixing using autonomous agents with built-in validation.
Install
mkdir -p .claude/skills/apex && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11073" && unzip -o skill.zip -d .claude/skills/apex && rm skill.zipInstalls to .claude/skills/apex
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Systematic implementation using APEX methodology (Analyze-Plan-Execute-eXamine) with parallel agents, self-validation, and optional adversarial review. Use when implementing features, fixing bugs, or making code changes that benefit from structured workflow.Key capabilities
- →Analyze project context
- →Plan implementation steps
- →Execute code changes
- →Perform adversarial review
- →Verify feature implementation
How it works
It follows the APEX methodology (Analyze-Plan-Execute-eXamine) using parallel agents to implement, validate, and review code changes.
Inputs & outputs
When to use apex
- →Implementing new features
- →Fixing complex bugs
- →Adversarial code review
- →Autonomous feature verification
About this skill
<quick_start>
/apex add authentication middleware # Basic
/apex -a -s implement user registration # Autonomous + save
/apex -a -x -s fix login bug # With adversarial review
/apex -a -v implement user dashboard # With feature verification
/apex -a -m implement full auth system # Agent Teams (parallel)
/apex -a -x -s -t -v add auth middleware # Full workflow with tests + verify
/apex -a -pr add auth middleware # With PR creation
/apex -r 01-auth-middleware # Resume previous task
/apex -e add auth middleware # Economy mode (save tokens)
/apex -i add auth middleware # Interactive flag config
</quick_start>
<flags> **Enable (lowercase ON) / Disable (UPPERCASE OFF):**| ON | OFF | Long | Description |
|---|---|---|---|
-a | -A | --auto | Skip confirmations, auto-approve |
-x | -X | --examine | Adversarial code review |
-s | -S | --save | Save outputs to .claude/output/apex/ |
-t | -T | --test | Include test creation + runner |
-v | -V | --verify | Launch app and verify feature works |
-e | -E | --economy | No subagents, save tokens |
-b | -B | --branch | Verify not on main, create branch |
-pr | -PR | --pull-request | Create PR at end (enables -b) |
-i | --interactive | Configure flags via menu | |
-k | -K | --tasks | Task breakdown with dependencies |
-m | -M | --teams | Agent Teams parallel execution (enables -k) |
-r | --resume | Resume from previous task ID |
Parsing: Defaults from steps/step-00-init.md, flags override, remainder = {task_description}, ID = NN-kebab-case.
</flags>
<step_files>
| Step | File | Purpose |
|---|---|---|
| 00 | steps/step-00-init.md | Parse flags, initialize state |
| 00b | steps/step-00b-save.md | Setup save output structure (if -s) |
| 00b | steps/step-00b-branch.md | Git branch setup (if -b) |
| 00b | steps/step-00b-economy.md | Economy mode overrides (if -e) |
| 00b | steps/step-00b-interactive.md | Interactive flag config (if -i) |
| 01 | steps/step-01-analyze.md | Smart context gathering |
| 02 | steps/step-02-plan.md | File-by-file plan + TaskList |
| 02b | steps/step-02b-tasks.md | Task breakdown (if -k/-m) |
| 03 | steps/step-03-execute.md | Todo-driven implementation |
| 03t | steps/step-03-execute-teams.md | Agent Team execution (if -m) |
| 04 | steps/step-04-validate.md | Self-check and validation |
| 05 | steps/step-05-examine.md | Adversarial code review |
| 06 | steps/step-06-resolve.md | Finding resolution |
| 07 | steps/step-07-tests.md | Test analysis and creation |
| 08 | steps/step-08-run-tests.md | Test runner loop |
| 09 | steps/step-09-finish.md | Create pull request |
| 10 | steps/step-10-verify.md | Launch & verify feature |
</step_files>
<state_variables>
| Variable | Type | Set by |
|---|---|---|
{task_description} | string | step-00 |
{feature_name} | string | step-00 |
{task_id} | string | step-00 / step-00b-save |
{acceptance_criteria} | list | step-01 |
{auto_mode} | boolean | step-00 |
{examine_mode} | boolean | step-00 |
{save_mode} | boolean | step-00 |
{test_mode} | boolean | step-00 |
{verify_mode} | boolean | step-00 |
{economy_mode} | boolean | step-00 |
{branch_mode} | boolean | step-00 |
{pr_mode} | boolean | step-00 |
{tasks_mode} | boolean | step-00 |
{teams_mode} | boolean | step-00 |
{output_dir} | string | step-00b-save |
{branch_name} | string | step-00b-branch |
</state_variables>
<execution_rules>
- Load one step at a time (progressive loading)
- ULTRA THINK before major decisions
- Persist state variables across all steps
- Follow next_step directive at end of each step
- Save outputs if
{save_mode}= true (each step appends to its file) - Use parallel agents for independent exploration (step-01)
- Use online research intentionally: default harness tools for local code first,
../find-docs/SKILL.mdfor current technical docs, and../exa-search/SKILL.mdfor broader web research or cited sources </execution_rules>
<entry_point>
FIRST ACTION: Load steps/step-00-init.md
</entry_point>
When not to use it
- →Environments without git
Prerequisites
Limitations
- →Requires structured task description
- →Progressive loading can be slow for simple tasks
How it compares
It uses a multi-agent, progressive step-loading workflow with adversarial review instead of a single-pass implementation.
Compared to similar skills
apex side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| apex (this skill) | 0 | 1mo | Review | Advanced |
| develop-ai-functions-example | 5 | 6mo | Review | Intermediate |
| adk-engineer | 3 | 27d | Review | Advanced |
| code-assist | 1 | 5mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
develop-ai-functions-example
vercel
Develop examples for AI SDK functions. Use when creating, running, or modifying examples under examples/ai-functions/src to validate provider support, demonstrate features, or create test fixtures.
adk-engineer
jeremylongshore
Execute software engineer specializing in creating production-ready ADK agents with best practices, code structure, testing, and deployment automation. Use when asked to "build ADK agent", "create agent code", or "engineer ADK application". Trigger with relevant phrases based on skill purpose.
code-assist
mikeyobrien
Guides implementation of code tasks using test-driven development in an Explore, Plan, Code, Commit workflow. Acts as a Technical Implementation Partner and TDD Coach — following existing patterns, avoiding over-engineering, and producing idiomatic, modern code.
async-repl-protocol
parcadei
Async REPL Protocol
moonbit-agent-guide
loro-dev
Guide for writing, refactoring, and testing MoonBit projects. Use when working in MoonBit modules or packages, organizing MoonBit files, using moon tooling (build/check/test/doc/ide), or following MoonBit-specific layout, documentation, and testing conventions.
ruby-pro
sickn33
Write idiomatic Ruby code with metaprogramming, Rails patterns, and performance optimization. Specializes in Ruby on Rails, gem development, and testing frameworks. Use PROACTIVELY for Ruby refactoring, optimization, or complex Ruby features.