build-feature-tree
Skill4 starsChanged 3 months agoMITView on GitHub
WHEN/WHERE/WHO: [Scheduling: Analysts or agents reviewing flat product backlogs or lengthy PRDs.] HOW: [Structural: Use this SKILL to group unstructured requirements into a hierarchical Feature Tree (L1, L2, L3) rendered as a mindmap.] WHY: [Scheduling: Flat lists hide missing features. A visual hierarchy exposes gaps.]
In this repository61 other files it gives its agents.
- activate-personalSkill
- analyze-with-tactics-questionnairesSkill
- apply-agile-testing-quadrantsSkill
- apply-architectural-tacticsSkill
- apply-attribute-driven-designSkill
- apply-fundamentals-of-data-visualizationSkill
- apply-oopsi-modelSkill
- apply-screenplay-patternSkill
- apply-specification-by-exampleSkill
- blog-topic-discoverSkill
- build-agent-memory-systemsSkill
- build-business-objectives-modelSkill
- build-data-dictionarySkill
- comment-alive-test-driven-developmentSkill
- conduct-event-stormingSkill
- create-ecosystem-mapSkill
- create-living-documentationSkill
- create-skill-from-bookSkill
- CREATING-SKILL-TEMPLATESkill
- define-architectural-driversSkill
- define-bounded-contextsSkill
- define-ubiquitous-languageSkill
- design-agentic-screenplay-modelSkill
- design-agent-perception-layersSkill
- design-agent-planningSkill
- design-agent-reward-functionsSkill
- design-agents-using-patternsSkill
- design-architecture-viewpointsSkill
- design-autonomous-ai-interfacesSkill
- design-ddd-aggregatesSkill
- design-tool-use-sandboxingSkill
- document-architectural-decisionsSkill
- document-legacy-codebaseSkill
- doc-with-usage-exampleSkill
- draft-srs-documentSkill
- elicit-requirements-modelsSkill
- evolve-skill-with-wikiSkill
- extract-business-rulesSkill
- facilitate-example-mappingSkill
- facilitate-user-story-mappingSkill
- implement-agent-observabilitySkill
- implement-agent-reflectionSkill
- improve-existing-skillSkill
- improve-user-storySkill
- managing-ai-projectsSkill
- orchestrate-multi-agent-collaborationSkill
- prioritize-requirementsSkill
- review-c4-modelSkill
- review-data-engineeringSkill
- save-as-skillSkill
- scaffold-cmake-cxx-sanitize-gtest-envSkill
- skill-commonSkill
- task-commit-triggerSkill
- test-case-with-demoSkill
- test-case-with-readmeSkill
- test-driven-developmentSkill
- UnitTesting-convert2CaTDDSkill
- update-my-resumeSkill
- update-spec-contextSkill
- validate-requirements-criteriaSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 15 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
When this skill is activated, first load skill-common and apply the shared conventions it defines: canonical section order, frontmatter …
- Distinctive: line 51
Transfer Check: Verify the workflow still works for PRDs, backlogs, and story collections with or without Mermaid rendering available.
- Distinctive: line 52
Stop Rule: If the input is primarily technical implementation work rather than business functionality, stop and redirect before drawing the …
- Distinctive: line 57
Keep one primary message per rendered mindmap (scope structure), and avoid decorative styling that does not improve interpretation.
- Distinctive: line 58
If node coloring is used, limit category colors to a small, distinguishable set and do not rely on color alone to convey hierarchy.
- Distinctive: line 59
Prefer explicit node labels and structural grouping over legend-heavy color coding.
- Distinctive: line 60
Keep execution guidance text-first.
- Distinctive: line 61
Do not require Mermaid rendering to complete analysis or validation.
- Distinctive: line 64
If the input text is not a list of features but rather a list of technical tasks (e.g., "Setup database," "Configure DNS"), stop and inform …
- Distinctive: line 68
Read the input and extract all functional requirements.
- Distinctive: line 81
Check visual density and simplify if crowded (split into multiple trees if needed).
- Distinctive: line 82
Ensure labels remain concise and readable without requiring color interpretation.
- Distinctive: line 83
Add "Visualization Quality Notes" summarizing any compromises (for example: split by domain, grouped sparse branches).
- Very specific: line 99
Verify that the Mermaid syntax is valid (mindmap format).
- Distinctive: line 100
Ensure no feature from the original list was dropped.
- Distinctive: line 101
Verify the tree remains readable at the expected viewing size and does not depend on color-only interpretation.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Build Feature Tree
Common Contract (Load First)
When this skill is activated, first load skill-common and apply the shared conventions it defines: canonical section order, frontmatter rules, anti-pattern guidance, and the Review In Mind loop in review-in-mind. This skill adds only domain-specific rules below.
Who
Business Analysts, Product Managers, and AI Agents. The agent uses this skill to restructure and visualize scope.
What
This skill implements the Feature Tree from the Requirements Modeling Language (RML). It takes a flat list of features or user stories and categorizes them into a strict hierarchy:
- L1 (Level 1): Major functional areas (e.g., "Account Management").
- L2 (Level 2): Feature groups (e.g., "User Profile").
- L3 (Level 3): Specific features (e.g., "Update Avatar").
It outputs this structure as a Mermaid.js Mindmap.
When
Invoke this skill during scope definition or when analyzing a lengthy PRD. Trigger phrases include: "build a feature tree," "organize this backlog," "create a mindmap of features," or "check for missing features."
Where
Applies to Product Requirements Documents (PRDs), JIRA backlogs, and feature lists.
Why
A backlog with 150 items is impossible to review for completeness. By organizing features hierarchically on a single page, the human brain can instantly spot missing siblings (e.g., if L2 "Reporting" only has L3 "Export to CSV", someone will ask "What about Export to PDF?").
Inputs
- A flat list of features, requirements, or user stories.
- The overarching Product Concept (the root node).
Output (Logical Evidence)
- A hierarchical list of features.
- A Mermaid.js Mindmap rendering the tree.
- A list of "Potential Missing Features" discovered by analyzing the visual gaps.
- A short "Visualization Quality Notes" section documenting readability and labeling decisions.
Optimization Readiness
- Failure Signals: Technical tasks are mistaken for business features, hierarchy depth becomes unreadable, labels stay verbose, or missing-feature suggestions are arbitrary rather than driven by structural gaps.
- Evidence To Collect: Normalized feature lists, generated trees, visualization notes, and examples of sparse or asymmetric branches that led to meaningful gap discovery.
- Safe Mutation Boundaries: Refine normalization rules, grouping heuristics, Mermaid guidance, and readability checks without changing the core business-feature hierarchy workflow.
- Acceptance Criteria: Accept revisions only if the output stays feature-focused, readable in text form, structurally coherent, and useful for spotting missing siblings or scope gaps.
- Rejected Revision Handling: Record poor grouping patterns, over-deep trees, and misleading visualization choices so they are not repeated.
- Transfer Check: Verify the workflow still works for PRDs, backlogs, and story collections with or without Mermaid rendering available.
- Stop Rule: If the input is primarily technical implementation work rather than business functionality, stop and redirect before drawing the tree.
Constraints (Logical Boundaries)
- Features should be brief noun phrases (e.g., "Shopping Cart," not "The system shall allow the user to add items to a cart").
- Limit the depth to 3 or 4 levels to maintain readability.
- Keep one primary message per rendered mindmap (scope structure), and avoid decorative styling that does not improve interpretation.
- If node coloring is used, limit category colors to a small, distinguishable set and do not rely on color alone to convey hierarchy.
- Prefer explicit node labels and structural grouping over legend-heavy color coding.
- Keep execution guidance text-first; the feature tree can be represented in plain structured lists when diagrams are unavailable.
- Do not require Mermaid rendering to complete analysis or validation.
One More Thing
If the input text is not a list of features but rather a list of technical tasks (e.g., "Setup database," "Configure DNS"), stop and inform the user that a Feature Tree models business functionality, not technical implementation.
How (Structural Workflow)
Phase 1: Extraction and Normalization
- Read the input and extract all functional requirements.
- Convert long sentences into concise 1-3 word noun phrases.
Phase 2: Hierarchical Grouping
- Identify the L1 Features (Major functional areas, usually 3-7 max).
- Group the remaining features under the appropriate L1 buckets to form L2 Features.
- Break down complex L2 features into L3 Features if necessary.
Phase 3: Visualization and Analysis
- Output the structure using Mermaid.js Mindmap syntax.
- Review the tree for symmetry and completeness. If an L2 category feels sparse compared to its siblings, suggest missing L3 features.
Phase 4: Visualization Quality Pass
- Check visual density and simplify if crowded (split into multiple trees if needed).
- Ensure labels remain concise and readable without requiring color interpretation.
- Add "Visualization Quality Notes" summarizing any compromises (for example: split by domain, grouped sparse branches).
Resources
- Feature Tree Examples
- Visualization Quality Checklist
Review In Mind (ReviewInMindGenie)
Execute the common review loop in review-in-mind before delivering.
Review lens for this skill:
- Is every input feature placed in exactly one L1/L2/L3 node?
- Does the hierarchy reveal gaps or orphans instead of hiding them?
- Is the Mermaid mindmap syntactically valid and readable?
Validation
- Verify that the Mermaid syntax is valid (
mindmapformat). - Ensure no feature from the original list was dropped; every item must have a home in the tree.
- Verify the tree remains readable at the expected viewing size and does not depend on color-only interpretation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

