Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Applies the Refactoring Priority Premise (RPP) levels L1-L6 for systematic code refactoring. Use when improving code quality through structured refactoring passes.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Wave: CROSS_WAVE
Agent: Crafty (nw-software-crafter)
Command: *refactor
Applies the Refactoring Priority Premise (RPP) — 6-level hierarchy L1 Readability|L2 Complexity|L3 Responsibilities|L4 Abstractions|L5 Design Patterns|L6 SOLID++. For complex multi-class refactorings, agent applies Mikado Method internally.
/nw-refactor runs batch-then-verify by default, regardless of test-suite speed:
Legacy incremental variant (opt-in only): the nw-progressive-refactoring skill documents the incremental L1→test→L2→test cycle. It is NOT the default — use it only when explicitly requested. Anchor: feedback_refactor_batch_when_test_suite_slow_2026_05_19 (the prior "only batch when suite slow" conditional is removed — batch is now unconditional).
@nw-software-crafter
Execute *refactor for {target-class-or-module}.
Context Files:
Configuration:
The invoked agent MUST create a task list from its workflow phases at the start of execution using TaskCreate. Each phase becomes a task with the gate condition as completion criterion. Mark tasks in_progress when starting each phase and completed when the gate passes. This gives the user real-time visibility into progress.
Handoff To: {invoking-agent-returns-to-workflow} Deliverables: Refactored codebase with quality improvements
/nw-refactor src/auth/token_manager.py --level=2 --scope=module
Crafty applies RPP L1-L2: rename ambiguous variables|extract magic numbers into constants|remove dead code (L1), then simplify conditionals|extract long methods (L2).
/nw-refactor src/billing/ --level=6 --scope=module --mikado_planning=true
Crafty uses Mikado Method for multi-class refactoring, applies dependency inversion|interface segregation across billing module.
/nw-refactor src/des/domain/ --from=1 --to=3 --scope=module
Sweeps L1 readability|L2 complexity|L3 responsibility smells. Cascade governs planning order (analyze L1 before L2 before L3); edits applied as one batch; suite run once at the end.
/nw-refactor src/des/cli/verify.py --level=3 --scope=file
Targets L3 responsibility smells only (Large Class, Feature Envy, Shotgun Surgery). Assumes L1-L2 already clean.
src/* (refactored production code)
tests/* (refactored test code)
docs/refactoring/
refactoring-log.md
quality-metrics.md
아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Review dimensions for acceptance test quality - happy path bias, GWT compliance, business language purity, coverage completeness, walking skeleton user-centricity, priority validation, observable behavior assertions, traceability coverage, and walking skeleton boundary proof
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Detailed 5-phase workflow for creating agents - from requirements analysis through validation and iterative refinement
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
5-layer testing approach for agent validation including adversarial testing, security validation, and prompt injection resistance
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Architectural style selection decision matrices, trade-off analysis, structural enforcement rules, and combination patterns. Load when choosing or evaluating architecture styles.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.