agentleFS
quaatquaat/autonomous-development/skills/autonomous-current/SKILL.md

autonomous-current

Skill3 starsChanged 49 days agoMITView on GitHub

Autonomously develop a repository feature directly in the current Git checkout. Use when the user has already created and switched to a clean non-main feature branch and wants the agent's edits to land in that branch without a disposable worktree. Codex independently enhances the idea, proposes a plan, and reviews the work while Claude reconciles, implements, verifies, and triages findings.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Do not create commits. The user will review and commit with their normal git diff/commit flow.

    line 50
  2. Distinctive:

    Never push, merge, publish, deploy, rotate credentials, or modify remote infrastructure.

    line 53
  3. Very specific:

    Never use danger-full-access, --yolo, bypassPermissions, or equivalent unrestricted modes.

    line 54
  4. Distinctive:

    Never apply an irreversible database migration or delete user data.

    line 55
  5. Distinctive:

    Do not weaken authorization, validation, tests, or static checks to make the workflow pass.

    line 56
  6. Distinctive:

    Use no more than the configured review-round budget.

    line 58
  7. Distinctive:

    Treat every Codex finding as a proposal requiring evidence-based triage.

    line 59
  8. Very specific:

    Read the referenced file under ${CLAUDE_PLUGIN_ROOT}/skills/autonomous-feature/references/ for that phase and follow it until the …

    line 89
  9. Very specific:

    Do not declare success until evaluate succeeds:

    line 92

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Autonomous feature development — current checkout

Implement this feature idea directly in the user's current Git checkout:

$ARGUMENTS

This skill is the current-checkout counterpart to autonomous-feature. The user has already created a clean non-main/non-master feature branch and wants the agent's edits to land directly in that branch — no disposable worktree, no .claude/worktrees/* clone, no extra worktree-* branch. Use ultrathink for architecture, compatibility, and review triage.

Non-negotiable boundaries

  • This skill must NOT call EnterWorktree / ExitWorktree. All edits land in the current checkout. Do not create or enter .claude/worktrees/*.
  • Refuse to run on main or master. If the current branch is one of those, stop and ask the user to create a feature branch first (or use /autonomous-development:autonomous-main when they have explicitly authorized direct edits on main).
  • Refuse to run on a dirty working tree. git status --porcelain must be empty before initializing. If it is not, stop and report which entries are dirty.
  • Do not create commits. The user will review and commit with their normal git diff/commit flow.
  • Preserve unrelated user changes.
  • Never push, merge, publish, deploy, rotate credentials, or modify remote infrastructure.
  • Never use danger-full-access, --yolo, bypassPermissions, or equivalent unrestricted modes.
  • Never apply an irreversible database migration or delete user data.
  • Do not weaken authorization, validation, tests, or static checks to make the workflow pass.
  • Codex planning and review executions must remain read-only.
  • Use no more than the configured review-round budget.
  • Treat every Codex finding as a proposal requiring evidence-based triage.

Driver loop

  1. Confirm this is a Git repository. Inspect CLAUDE.md, repository instructions, architecture, status, and tests. Verify the current branch is NOT main/master and that the working tree is clean before initializing — the controller will fail closed on both, but checking up front produces a clearer message for the user.
  2. Initialize in current-checkout mode (no worktree):

    python3 "${CLAUDE_PLUGIN_ROOT}/scripts/controller.py" doctor
    python3 "${CLAUDE_PLUGIN_ROOT}/scripts/controller.py" init \
      --feature "$ARGUMENTS" \
      --mode standard \
      --worktree-mode current

    init prints the run-state.json path and run ID. With multiple concurrent runs, pass --run-id <run-id> to all subsequent commands. If doctor reports a missing prerequisite, mark the run blocked and report it rather than bypassing it.

  3. Repeatedly ask the controller for the next phase, then execute it:

    python3 "${CLAUDE_PLUGIN_ROOT}/scripts/controller.py" next-action --json

    The response gives phase, required_action, completion_condition, and references. Read the referenced file under ${CLAUDE_PLUGIN_ROOT}/skills/autonomous-feature/references/ for that phase and follow it until the completion condition holds.

  4. Do not declare success until evaluate succeeds:

    python3 "${CLAUDE_PLUGIN_ROOT}/scripts/controller.py" evaluate
    python3 "${CLAUDE_PLUGIN_ROOT}/scripts/controller.py" status
    python3 "${CLAUDE_PLUGIN_ROOT}/scripts/controller.py" usage-report

Final report

  • the implemented behavior;
  • principal files changed (visible to the user via plain git diff);
  • verification commands and results;
  • Codex review rounds and disposition of findings;
  • adversarial review result when one was required;
  • per-phase usage table from usage-report;
  • remaining risks or explicit blocked reason;
  • a suggested conventional commit message (the user commits manually — this skill must not commit).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.