Skip to main content

refactor-plan

Judge whether a system is fragile or just fast-moving, and write a ticket-ready refactor plan for one root problem, with measured evidence and a stable fingerprint. Use after system history (or a bug trace) points at a systemic problem worth fixing at the root.

소스 정보

저장소
BuilderIO/agent-native
최근 소스 활동
2026년 10월 14일 17:53
감지된 SKILL.md 언어
영어
스타
7,366
포크
669

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
6 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
refactor-plan
description
Judge whether a system is fragile or just fast-moving, and write a ticket-ready refactor plan for one root problem, with measured evidence and a stable fingerprint. Use after system history (or a bug trace) points at a systemic problem worth fixing at the root.
scope
dev
metadata
{"internal":true}
# Refactor plan ## Judge first `references/rubric.md` separates fragile from fast-moving from coupled, and sets confidence. The counts from system-history are leads. A plan needs a named repeated mechanism, taken from diffs you read. ## Scaffold ```bash pnpm exec tsx .agents/skills/refactor-plan/scripts/new-plan.ts --run <id> \ --slug <kebab> --title "<imperative line>" --systems a,b \ --area <Framework|Slides|Design|Clips|Content|Dispatch|General> [--force] ``` It reads the run's `analysis.json`. Every system must be one analyze scored. When the run has a `bug.json`, the plan becomes a bug plan: - it adds a Trigger section, and quotes the report when it has no link; - its paths are the focus files only; - its frontmatter gets `trigger: bug` and the report as `source`. Plans go to `<plansDir>/<run>/<slug>.md` (see `config.json`). ## Fill it Replace every `TODO(agent)` marker, `summary`, and `confidence`, following `references/plan-guide.md`. Keep slugs stable across runs. The fingerprint comes from the systems and the slug, and Jira dedup keys on it. A plan is finished when `jira-refactor-findings`' `jira-upsert.ts` accepts it.
GitHub에서 보기