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.

Informações da origem

Repositório
BuilderIO/agent-native
Última atividade na origem
14 de outubro de 2026 às 17:53
Idioma detectado do SKILL.md
inglês
Estrelas
7.366
Forks
669

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Explorador de arquivos
6 arquivos

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
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.
Ver no GitHub