skill-simplify

SkillDev tools

SKILL.md simplification with functional integrity verification.

Use skill-simplify in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add skill-simplify and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the skill-simplify skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

skill-simplifyStart free

What this skill tells your AI

The instructions your AI receives, as published by catlog22/maestro-flow in .codex/skills/skill-simplify/SKILL.md and read by ahel’s review.

Plan tracking: codex 无 TaskCreate/TaskUpdate/TodoWrite 任务板。进度清单用 update_plan({ explanation?, plan: [{ step, status }] }) 维护(整体提交步骤数组,status: pending | in_progress | completed),权威状态始终在 session 工件中;依赖/认领(addBlockedBy/owner)是工件字段,不是工具参数。

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

update_plan Pattern

update_plan({ 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

Signals

GitHub stars
560
Forks
68
Last commit
Sep 2026
Advanced
Item type
skill
Key
skill-simplify
Source
github.com/catlog22/maestro-flow