expand-feature

Plans minimal-scope feature expansions for incomplete modules through a four-phase exploration and review workflow.

Updated Jun 16, 2026
One-click install
npx skills add https://github.com/SSS08099/mom-system --skill expand-feature-sss08099
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: expand-feature
Source: https://github.com/SSS08099/mom-system/tree/main/.agents/skills/expand-feature
Command: npx skills add https://github.com/SSS08099/mom-system --skill expand-feature-sss08099

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When a module or page has a working skeleton but is functionally incomplete, it is hard to decide what to build next without over-engineering. This Skill explores the existing code, identifies the smallest meaningful gap, and produces a minimal-scope expansion plan for user approval before any code is written. ## Core Features & Use Cases - Parallel Codebase Exploration: Launches up to three Explore agents to scan backend entities, services, controllers, frontend Vue views, API modules, routes, and project documentation, then summarizes the current state in an existing-vs-missing table. - Minimal Increment Design: Uses a Plan agent to design only the next logical step (e.g., add status flow to CRUD, add one-level approval, add a refs check on delete), with an explicit "Not Doing" section to prevent scope creep. - Pattern-Aligned Review: Verifies the plan against project constraints and five standard page patterns (simple list, search list, tree list, master-detail form, split config) plus a 10-item new-page checklist. - Use Case: A user says "完善一下采购订单模块" — the Skill scans the PO module, finds it has submit but no approval, and writes a plan adding only approve/reject endpoints and the matching UI buttons. ## Quick Start Ask the assistant to plan the next minimal expansion for an incomplete module, for example by saying "扩充一下XX功能" or "XX模块还需要什么".

Frequently Asked Questions about expand-feature

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I plan the next feature for an incomplete module?

Describe the module you want to expand, such as saying the module needs completion. The Skill explores existing backend and frontend code, identifies the smallest meaningful gap, and writes a minimal-scope plan for your approval before any code changes.

What does the expand-feature workflow produce as output?

It produces a single plan file containing context, a current-state versus target table, implementation steps with file paths, an explicit Not Doing section, and verification steps. It never modifies code during execution.

When should I not use this expansion planning approach?

Skip it when the request is a specific well-defined change, a bug fix, or a simple tweak, or when the feature is already complete per the project roadmap. It is designed only for identifying gaps in skeleton features.

How does it prevent scope creep in feature planning?

Every plan must include a Not Doing section listing explicitly excluded items, and the review phase trims any nice-to-haves into that list. Only the next logical increment, such as adding a status flow or one-level approval, is included.

Does the plan enforce existing frontend page patterns?

Yes. The review phase maps the target page to one of five demo patterns (simple list, search list, tree list, master-detail form, split config) and runs a 10-item checklist covering routes, permissions, form initialization, and delete reference checks.