AGENT SKILL

quick-executor

Trigger: quick edit, single file, atomic edit, fast fix, one-line fix. Single-file low-risk changes.

License 许可
Apache-2.0
最近更新
2026-11-10
Stars
★ 0
Forks
0

01 前言 Front Matter

name
quick-executor
triggers
quick edit, single file, atomic edit, fast fix, one-line fix, small change, quick fix
changelog
docs/ciclos/cycle28-20260815.md
description
Trigger: quick edit, single file, atomic edit, fast fix, one-line fix. Single-file low-risk changes.
token_budget
3000

03 SKILL.md 正文

When to Use

1 file, clear before/after, low risk. SCOPE GUARD: >1 file → STOP, report to orchestrator or delegate to plan-execution.

WORKFLOW

  1. READ target file. Not exists → delegate to code-generation. Never create files directly.
  2. PLAN minimal edit. Risk check: >20 lines OR >2 functions OR new deps → STOP, over-scoping.
  3. EDIT in one atomic operation.
  4. VERIFY: Test exists → run it. Build exists → run it. Language check:
    • Python: python -c "import ast; ast.parse(open('file').read())"
    • JS/TS: node --check file.js / npx tsc --noEmit
    • Go: go vet ./...
    • Rust: cargo check
    • Java: javac -d /tmp File.java
    • Ruby: ruby -c file.rb
    • PHP: php -l file.php
    • Shell: bash -n script.sh
    • Other: Read, verify syntax manually, note in report.
  5. REPORT: One line.

STANDALONE MODE

If invoked directly (not via orchestrator): report issues as findings, do not escalate. Apply fixes if clear.

SEVERITY

| P0 | Blocks other work | P1 | User-facing bug | P2 | Improvement | P3 | Cleanup |

OUTPUT

Changed [file] (lines N-M). Verified: [pass/fail].

Rules

  1. Max 1 file. No exceptions.
  2. No rename/extract/refactor adjacent code.
  3. No new dependencies.
  4. Risk heuristic: size + complexity + deps → if any borderline → STOP.

Anti-Rationalization

Rationalization Red Flag Verification
"T2+ disfrazado de quick edit" >1 file o >20 líneas como quick → STOP reportar a orchestrator, delegar a plan-execution file:line
"multi-file en una pasada sin validación" varios files editados sin verify por file 1 file max + syntax check + test por file file:line
"skip verification por ser quick" quick sin test/build/syntax check ejecutar verification workflow file:line antes de REPORT

Red Flags

  • Doing work without checking output format → STOP, re-read skill
  • Second occurrence of same rationalization → force RED zone

Verification

  • Output matches skill ## Output contract + file:line citaton
  • cross-ref-check.ps1 → SKILL.md OK

Refs

code-generation · commit-crafter · deep-debugging · command-wrapper · server-commands

Anti-Patterns

Multi-file scope creep · Refactor adjacent code · Add dependencies · Skip verification · Create files (delegate to code-generation)


See reference.md for extended details, examples, and detailed patterns.

04 同仓库更多 Skills