apex-power
2
总安装量
2
周安装量
#67879
全站排名
安装命令
npx skills add https://github.com/apexbusiness-systems/apex-omnihub --skill apex-power
Agent 安装分布
openclaw
1
kimi-cli
1
codex
1
claude-code
1
antigravity
1
gemini-cli
1
Skill 文档
APEX-POWER
The Universal Meta-Skill for Omnipotent Execution
“One skill to rule them all. Zero exceptions. Zero weakpoints.”
I. CORE DOCTRINE
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â APEX-POWER = OMNISCIENCE Ã OMNIPOTENCE Ã ZERO TOLERANCE FOR FAILURE â
â â
â ⢠OMNISCIENCE: Know exactly what to do before acting â
â ⢠OMNIPOTENCE: Execute with deterministic precision â
â ⢠ZERO TOLERANCE: No guessing, no hoping, no "good enough" â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
The Iron Laws
| Law | Statement | Violation = |
|---|---|---|
| 1. EVIDENCE FIRST | No action without proof of cause | START OVER |
| 2. TEST FIRST | No code without failing test | DELETE CODE |
| 3. VERIFY ALWAYS | No claim without verification | RETRACT CLAIM |
| 4. ONE THING | One change per commit | SPLIT IT |
| 5. NO RATIONALIZATION | If you’re justifying, you’re wrong | STOP & REFLECT |
II. UNIVERSAL EXECUTION PROTOCOL (APEX-UEP)
For ANY task, follow this exact sequence:
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â PHASE 0: SCOPE LOCK (30 seconds) â
â âââ Read the request 3 times â
â âââ State the goal in ONE sentence â
â âââ If unclear â ASK, don't assume â
â â
â PHASE 1: CONTEXT HARVEST (before any action) â
â âââ What files are relevant? â
â âââ What is the current state? â
â âââ What constraints exist? â
â âââ What has been tried before? â
â â
â PHASE 2: PLAN (before any implementation) â
â âââ What are the steps? â
â âââ What could go wrong? â
â âââ What is the verification criteria? â
â âââ Write it down (task.md or mental checklist) â
â â
â PHASE 3: EXECUTE (one thing at a time) â
â âââ Test first (if code) â
â âââ Minimal change â
â âââ Verify immediately â
â âââ Commit atomically â
â â
â PHASE 4: VERIFY (before claiming done) â
â âââ Does it work? (run it) â
â âââ Does it break anything? (run tests) â
â âââ Does it match the goal? (re-read request) â
â âââ Can you prove it? (show evidence) â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
III. DECISION ROUTER
What are you doing?
| Task Type | Go To |
|---|---|
| Implementing a feature | â Section IV: APEX-TDD |
| Fixing a bug | â Section V: APEX-DEBUG |
| Planning/designing | â Section VI: APEX-PLAN |
| Reviewing code | â Section VII: APEX-REVIEW |
| Anything else | â Apply APEX-UEP (Section II) |
IV. APEX-TDD (Test-Driven Development)
RED â GREEN â REFACTOR (No shortcuts)
The Cycle
- RED: Write ONE failing test that describes what should happen
- VERIFY RED: Run it. Watch it fail. Understand WHY it fails.
- GREEN: Write MINIMAL code to pass
- VERIFY GREEN: Run it. All tests pass. No warnings.
- REFACTOR: Clean up. Keep tests green.
- REPEAT: Next test
Violations That Require Delete & Restart
- â Writing code before test
- â Test passes immediately (you’re testing wrong thing)
- â “I’ll write tests after”
- â “This is too simple to test”
- â Keeping code as “reference”
Quick Example
// RED: Write test first
test("validates email format", () => {
expect(isValidEmail("")).toBe(false);
expect(isValidEmail("invalid")).toBe(false);
expect(isValidEmail("valid@example.com")).toBe(true);
});
// GREEN: Minimal implementation
function isValidEmail(email: string): boolean {
return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email);
}
V. APEX-DEBUG (Systematic Debugging)
The Iron Law
NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
The 4-Phase Protocol
| Phase | What | Success Criteria |
|---|---|---|
| 1. INVESTIGATE | Read errors, reproduce, trace data | Know WHAT and WHY |
| 2. ANALYZE | Find working examples, compare | Identify differences |
| 3. HYPOTHESIZE | Form ONE theory, test minimally | Confirmed or new hypothesis |
| 4. IMPLEMENT | Create test, fix, verify | Bug resolved, tests pass |
Red Flags (STOP and Return to Phase 1)
- “Just try changing X and see”
- “Quick fix for now, investigate later”
- “I don’t fully understand but this might work”
- 3+ failed fix attempts â QUESTION ARCHITECTURE
Evidence Gathering Template
# For each component boundary:
echo "=== Layer N: [Name] ==="
echo "Input: ${INPUT:+SET}${INPUT:-UNSET}"
echo "State: [relevant state]"
# Run and gather evidence BEFORE proposing fixes
VI. APEX-PLAN (Strategic Planning)
The Process
- Understand: Read request. Ask clarifying questions (one at a time).
- Explore: Propose 2-3 approaches with trade-offs.
- Present: Design in sections (200-300 words each). Validate each.
- Document: Write to
docs/plans/YYYY-MM-DD-<topic>.md - Execute: Break into tasks. One task at a time.
Planning Checklist
- Goal stated in one sentence
- Constraints identified
- Approaches compared
- Risks identified
- Verification criteria defined
- Tasks broken down
VII. APEX-REVIEW (Code Review)
Before Requesting Review
- All tests pass
- No linting errors
- Changes are atomic (one concern per commit)
- Self-reviewed for obvious issues
- PR description explains WHAT and WHY
When Reviewing
- Understand: What is this change trying to do?
- Check: Does it do what it claims?
- Test: Are edge cases covered?
- Verify: Does it follow patterns/standards?
- Communicate: Be specific, be kind, be actionable
VIII. FAILURE ANNIHILATION MATRIX
Common Failures â Countermeasures
| Failure Mode | Symptom | Countermeasure |
|---|---|---|
| Guessing | “Maybe this will work” | STOP â Gather evidence first |
| Rushing | Skipping steps | STOP â Follow protocol |
| Overengineering | Adding unused features | STOP â YAGNI ruthlessly |
| Underengineering | Skipping tests | STOP â Test first |
| Rationalization | “Just this once” | STOP â It’s never “just once” |
| Assumption | “I think…” without proof | STOP â Verify assumption |
| Scope Creep | “While I’m here…” | STOP â One thing at a time |
IX. RATIONALIZATION IMMUNITY SHIELD
Excuses That Mean “STOP”
| Excuse | Translation | Action |
|---|---|---|
| “This is simple enough” | “I want to skip testing” | Write the test |
| “I’ll add tests later” | “I won’t add tests” | Write test NOW |
| “It worked when I tried it” | “I didn’t automate verification” | Automate it |
| “The spirit is more important than the letter” | “I’m rationalizing” | Follow the letter |
| “I’m being pragmatic” | “I’m cutting corners” | Corners cause crashes |
| “We’re in a hurry” | “We’ll pay double later” | Slow is smooth, smooth is fast |
| “This is different because…” | “I’m making an exception” | No exceptions |
X. COGNITIVE LOAD ELIMINATION
Decision Trees > Paragraphs
â BAD: "When you need to do X, first consider whether Y or Z, and if Y then..."
â
GOOD:
Is X true?
âââ YES â Do Y
âââ NO â Do Z
Examples > Explanations
â BAD: "To create a function, define parameters and return type..."
â
GOOD:
function add(a: number, b: number): number {
return a + b;
}
One Thing at a Time
â BAD: Multiple changes in one commit
â
GOOD: One logical change per commit
XI. QUALITY METRICS
Success Criteria for Any Task
| Metric | Target |
|---|---|
| First-pass success rate | 95%+ |
| Test coverage | 100% of new code |
| Regressions introduced | 0 |
| Build status | Green |
| Lint status | Clean |
| Documentation | Updated |
XII. INSTALLATION & ACTIVATION
Auto-Activation Triggers
This skill activates for:
- Session start
- Any coding task
- Any debugging scenario
- Any planning/design work
- Any code review
- Any verification need
Manual Activation
If you need to explicitly invoke:
Apply APEX-POWER protocol
XIII. THE BOTTOM LINE
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â â
â APEX-POWER is not a checklist. It's a MINDSET. â
â â
â ⢠Never guess. KNOW. â
â ⢠Never hope. VERIFY. â
â ⢠Never rush. EXECUTE PRECISELY. â
â ⢠Never rationalize. FOLLOW THE PROTOCOL. â
â â
â The discipline creates the freedom. â
â The protocol enables the mastery. â
â The rigor produces the results. â
â â
â THIS IS APEX-POWER. â
â â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Version: 1.0.0
Supersedes: superpowers (all skills)
Compatibility: Claude, GPT, Gemini, Llama, Mistral, any reasoning model
License: Proprietary – APEX Business Systems Ltd.