Skip to content
Back to skills

Code First

ASecurity

Autonomous async Execution. The Architect hands off and walks away; the Agent drives the Task to done — makes every Architectural call by tracing the code and finding every option with /discover, executes through /delegate, verifies from each implementing Subagent's Evidence (they exercise their own flows, real browser for UI), and returns finished code plus the recorded Decisions for review. TRIGGER when the Architect says "code-first", "/code-first", "execute with /delegate", "execute direc...

  • 22 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 28, 2026
businessgogit

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add heyJordanParker/dotfiles --skill code-first --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code First?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code First
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/heyjordanparker-code-first/badge)](https://www.skillsdirectory.com/skills/heyjordanparker-code-first)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code-first
description: Autonomous async Execution. The Architect hands off and walks away; the Agent drives the Task to done — makes every Architectural call by tracing the code and finding every option with /discover, executes through /delegate, verifies from each implementing Subagent's Evidence (they exercise their own flows, real browser for UI), and returns finished code plus the recorded Decisions for review. TRIGGER when the Architect says "code-first", "/code-first", "execute with /delegate", "execute directly & autonomously", "drive it and report back", "iterate until done", "I'm going to bed", "off to bed", or signals an AFK / overnight handoff. DO NOT TRIGGER when the Architect wants a Proposal before action; that is the default mode.
---

# Code-First

- Invoking this Skill moves the Architect's Architecture Review to the returned Decisions instead of a Proposal up front.
- Outside this Skill, every Architectural change waits for approval.
- One Process: drive the Task to done while preserving the baseline, using Subagents for Execution, and returning finished code plus the recorded Decisions.

## 1. Build the Verification plan from code

Dispatch a research Subagent running /understand to study the affected area and map every Critical Path the Task touches: entry, input, expected output, and end state.

### Exercise User behavior, not confidence

Compile, type checks, and confidence numbers are not Verification.

## 2. Make and record each Architectural call

For every Architectural call: trace the code, find every option with /discover, pick the best, then record the Decision.

### Rank by correctness

Never rank an Architectural option by effort, file count, or speed.

Template:
  ```markdown
  - Decision: [what was chosen]
  - Trigger: [what surfaced the Decision]
  - Why: [User, Architecture, and WHY reason]
  - Alternatives: [options weighed and rejected]
  - Touched: [modules, contracts, or data in Architect language]
  - Verification: [command output or browser Evidence]
  - Confidence: [percent and remaining risk]
  ```

## 3. Execute through Subagents

Use /delegate for Execution. You are the Orchestrator: hold the Goal and use /orchestrate to judge each Subagent's Evidence.

### Keep issues assigned to the Subagent that owns them

A Subagent claim is not accepted until proved. Contradictions with the Architect's reported outcomes follow /orchestrate contradiction handling.

### Restore manually after destructive git damage

The Agent that broke a file restores it manually; do not hide the damage behind a broad restore.

## 4. Handle blockers without stopping the run

Use /orchestrate claimed-blocker handling. A real blocker is recorded under Pending Architect input with the item, the paths attempted, and which boundary each path crosses. Pause that item and continue other work.

IF shared state is corrupted and needs manual restore:
### Stop the run

Do not continue on corrupted shared state.

## 5. Check long-running work on cadence

Check long-running tests, builds, and Subagents on a 30-minute wall-clock cadence. The Harness re-invokes you when tracked work finishes.

### State the parallel and waiting work at each check
One line per cadence: which Subagents run in parallel, which wait, and why the waiting ones cannot start. Serial work must be visible, never discovered.

### Preserve Context for synthesis

Fast polling drains the Context needed for the final Review.

IF a blocker survives two consecutive cadence checks unchanged:
### Notify the Architect instead of holding silently

Send a PushNotification naming the blocker and what it blocks, then continue other work.

## 6. Verify the whole changeset

Use /orchestrate to run the Verification plan from the implementing Subagents' Evidence, then run /verify-changes, once every Task has landed.

### Done means the Critical Paths are green

No coping is accepted. Rerun /verify-changes until every Critical Path in the plan is green.

## 7. Return finished work and Decisions

Return finished code plus the recorded Decisions. Surface pending Architect input separately. The Decisions list contains Architectural calls only, not a process recap, ordered so a Decision that establishes a fact comes before Decisions that rely on it.

### Decisions are independently reviewable

The Architect accepts or rejects each Decision independently. A rejected Decision re-dispatches that Slice with the correction; accepted Decisions stand.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.