본문으로 건너뛰기
cccskills
무료GitHub에 공개

omcustom:auto-improve

Apply verified improvement suggestions from eval-core analysis to omcustom configuration

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

/omcustom:auto-improve — Automated Improvement Workflow

Purpose

Reads improvement suggestions from eval-core analysis, lets the user select which to apply, applies changes in an isolated worktree with sauron verification, and creates a PR for review.

Usage

/omcustom:auto-improve              # Interactive selection from pending suggestions

Prerequisites

  • eval-core analysis data exists (run /omcustom:improve-report first if empty)
  • Pending improvement suggestions in proposed status

Workflow

Step 1: Read Suggestions

  1. Run bun run packages/eval-core/src/cli/index.ts analyze --format json --save via Bash
  2. Parse JSON output for improvement suggestions
  3. If no suggestions: display "No improvement suggestions available" and exit

Step 2: Display & Select

Display numbered list:

[Auto-Improve] Available suggestions:
  1. [HIGH] agent:lang-golang-expert — Escalate model sonnet→opus (3 failures in 5 uses)
  2. [MED]  routing:dev-lead-routing — Add Flutter keyword mapping (2 routing misses)
  3. [LOW]  skill:systematic-debugging — Add timeout guard (1 timeout in 10 uses)

Select items: [1,2,3] / "all" / "cancel"

Self-reference filter: Exclude items where targetName matches:

  • omcustom-auto-improve, auto-improve
  • pipeline-guards, evaluator-optimizer
  • Any item targeting this skill itself

Step 3: Approve (State Transition)

For each selected item:

  1. Call eval-core API: transition proposed → approved
  2. Display: [Approved] {N} items selected for application

Step 4: Worktree Isolation

  • Use EnterWorktree tool with name auto-improve-{YYYYMMDD}
  • Creates isolated branch from HEAD

Step 5: Apply Changes

Map each approved item to the appropriate subagent by targetType:

targetTypeAgentAction
agentmgr-creatorModify agent frontmatter/body
skillMatching domain expertRevise skill SKILL.md
routinggeneral-purposeUpdate routing patterns
model-escalationgeneral-purposeUpdate model field in agent frontmatter

Spawn agents in parallel (max 4 per R009). Each agent receives:

  • Action description and evidence data
  • Target file path
  • Specific modification instructions

Step 6: Verification

  1. Delegate to mgr-sauron: full R017 verification
  2. If PASS: proceed to Step 7
  3. If FAIL: display failures, offer options:
    • fix → re-apply with sauron feedback (max 2 cycles)
    • reject → transition all to rejected, ExitWorktree(remove)
    • manual → keep worktree for user inspection

Step 7: PR & Finalize

  1. Delegate to mgr-gitnerd: commit + create PR
    • Title: chore(auto-improve): apply {N} improvement suggestions
    • Body: table of applied items with evidence
  2. Transition all items to applied with appliedAt timestamp and PR URL
  3. ExitWorktree(action: "keep") — keep branch for PR
  4. Display PR URL to user

Safety Guards

GuardImplementation
Self-reference preventionBlocklist filter in Step 2
User approval gateStep 2 interactive selection
Worktree isolationStep 4 EnterWorktree
Sauron verificationStep 6 mandatory pass
PR-based mergeStep 7 — no direct push to develop
Max items per run20 default, 50 hard cap
Max fix cycles2 retries before rejection
Rollbackgit revert via mgr-gitnerd post-merge

Error Handling

ScenarioAction
No suggestions availableDisplay message, exit
User cancels selectionExit, no state changes
Sauron verification fails 2xReject all, cleanup worktree
Agent application errorMark individual item as rejected, continue others
EnterWorktree failsReport error, exit

Display Format

[Auto-Improve] Starting improvement workflow
├── Suggestions: {N} available ({high}H/{medium}M/{low}L confidence)
├── Self-reference filtered: {count} items excluded
└── Select items to apply: [1,2,3] or "all" or "cancel"

[Auto-Improve] Applying {N} improvements in worktree
├── Worktree: auto-improve-{date}
├── Agents: {count} parallel
└── Pipeline guards: max 20 items, 2 retry cycles

[Auto-Improve] Verification
├── Sauron: {PASS|FAIL}
├── PR: #{number} created
└── Status: {N} items → applied

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Pre-action boundary checking — validates agent tool calls against declared capabilities and task contracts

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

baekenough/second-brain152026년 10월 8일 업데이트

Auto-detect project context and optimize harness — deactivate unused agents/skills, suggest missing experts, generate project profile

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

baekenough/second-brain152026년 10월 8일 업데이트

Adversarial code review using attacker mindset — trust boundary, attack surface, business logic, and defense evaluation

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

baekenough/second-brain152026년 10월 8일 업데이트

Apache Airflow best practices for DAG authoring, testing, and production deployment

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

baekenough/second-brain152026년 10월 8일 업데이트

Alembic migration patterns for naming conventions, safety checks, expand-contract, env.py configuration, and CI integration

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

baekenough/second-brain152026년 10월 8일 업데이트

Pre-routing ambiguity analysis — scores request clarity and asks clarifying questions when needed (inspired by ouroboros)

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

baekenough/second-brain152026년 10월 8일 업데이트

baekenough의 스킬 모두 보기

이 스킬의 문제 신고