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

skill-simplify

SKILL.md simplification with functional integrity verification. Analyze redundancy, optimize content, check no functionality lost. Triggers on "simplify skill", "optimize skill", "skill-simplify".

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

설치 방법 보기

포함된 파일(4)

  • SKILL.md3.3 KB
  • phases/01-analysis.md10.2 KB
  • phases/02-optimize.md4.8 KB
  • phases/03-check.md7.9 KB

SKILL.md(원문)

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

Skill Simplify

Three-phase pipeline: analyze functional inventory, apply optimization rules, verify integrity.

Phase Reference Documents (read on-demand):

PhaseDocumentPurpose
1phases/01-analysis.mdExtract functional inventory, identify redundancy, validate pseudo-code format
2phases/02-optimize.mdApply simplification rules, fix format issues
3phases/03-check.mdVerify functional integrity, validate format

Pre-load (before execution)

  1. Codebase docs: If .workflow/codebase/ARCHITECTURE.md exists, read for project context
  2. Specs: maestro load --type spec --category coding — load coding conventions
  3. Wiki knowledge: maestro search "skill design optimization" --json — top 5 entries as prior context
  4. All optional — proceed without if unavailable

Input Processing

const targetPath = input.trim()
const targetFile = targetPath.endsWith('.md') ? targetPath : `${targetPath}/SKILL.md`
const originalContent = Read(targetFile)
const originalLineCount = originalContent.split('\n').length

TodoWrite Pattern

TodoWrite({ todos: [
  { content: `Phase 1: Analyzing ${targetFile}`, status: "in_progress", activeForm: "Extracting functional inventory" },
  { content: "Phase 2: Optimize", status: "pending" },
  { content: "Phase 3: Integrity Check", status: "pending" }
]})

Core Rules

  1. Preserve ALL functional elements: Code blocks with logic, agent calls, data structures, routing, error handling, input/output specs
  2. Only reduce descriptive content: Flowcharts, verbose comments, duplicate sections, examples that repeat logic
  3. Never summarize algorithm logic: If-else branches, function bodies, schemas must remain verbatim
  4. Classify code blocks: Distinguish functional (logic, routing, schemas) from descriptive (ASCII art, examples, display templates) — only descriptive blocks may be deleted
  5. Merge equivalent variants: Single/multi-perspective templates differing only by a parameter → one template with variant comment
  6. Fix format issues: Nested backtick template literals in code fences → convert to prose; hardcoded option lists → flag for dynamic generation; workflow handoff references → ensure execution steps present
  7. Validate pseudo-code: Check bracket matching, variable consistency, structural completeness
  8. Quantitative verification: Phase 3 counts must match Phase 1 counts for functional categories; descriptive block decreases are expected

Error Handling

ErrorResolution
Target file not foundReport error, stop
Check FAIL (missing functional elements)Show delta, revert to original, report which elements lost
Check WARN (descriptive decrease or merge)Show delta with justification
Format issues foundReport in check, fix in Phase 2

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

maestro

무료

Intent-to-chain planner over the canonical Session/Run lifecycle

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

catlog22/maestro-flow5662026년 10월 15일 업데이트

Quick execution for small tasks — minimal run lifecycle (start + done) with evidence recording. Full LLM capability, scoped to mechanically clear tasks.

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

catlog22/maestro-flow5662026년 10월 15일 업데이트

Create or sync session worktree for parallel dev

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

catlog22/maestro-flow5662026년 10월 15일 업데이트

Manage editing boundary restrictions

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

catlog22/maestro-flow5662026년 10월 15일 업데이트

Maestro Flow 命令帮助系统。搜索命令、浏览技能、工作流推荐、新手引导。Triggers on "maestro-help", "帮助", "命令", "怎么用", "skill", "workflow", "maestro 怎么用".

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

catlog22/maestro-flow5662026년 10월 15일 업데이트

Use when designing, reviewing, refining, fixing, or codifying frontend UI with Maestro's self-contained Impeccable core

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

catlog22/maestro-flow5662026년 10월 15일 업데이트

catlog22의 스킬 모두 보기

이 스킬의 문제 신고