feature-doc-splitter
Skill18 starsChanged 6 days agoMITView on GitHub
Use when splitting rough feature notes into overview, frontend, and backend implementation docs with codebase context and contracts.
In this repository55 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ax-extract-workflowSkill
- conversation-json-to-mdSkill
- frontend-quality-guardrailsSkill
- git-commit-onlySkill
- git-pushing-fastSkill
- git-push-secondary-merge-primarySkill
- git-stepwise-commitSkill
- git-weekly-reportSkill
- linkedinSkill
- logo-design-boardSkill
- mac-software-storage-cleanupSkill
- multi-lang-readmeSkill
- novel-writerSkill
- react-component-hook-guidelinesSkill
- routerbase-api-integrationSkill
- routerbase-media-generationSkill
- routerbase-model-routingSkill
- topic-bookmarks-reorganizerSkill
- tree-ring-memorySkill
- tweetclaw-twitter-automationSkill
- ui-layout-analyzerSkill
- wechat-theme-extractorSkill
- weixin-article-to-obsidianSkill
- xquik-dataSkill
- x-twitter-scraperSkill
- yuque-lakebook-exportSkill
- ax-extract-workflow-cnSkill
- conversation-json-to-md-cnSkill
- feature-doc-splitter-cnSkill
- frontend-quality-guardrails-cnSkill
- git-commit-only-cnSkill
- git-pushing-fast-cnSkill
- git-push-secondary-merge-primary-cnSkill
- git-stepwise-commit-cnSkill
- git-weekly-report-cnSkill
- linkedin-cnSkill
- logo-design-board-cnSkill
- mac-software-storage-cleanup-cnSkill
- multi-lang-readme-cnSkill
- novel-writer-cnSkill
- react-component-hook-guidelines-cnSkill
- routerbase-api-integration-cnSkill
- routerbase-media-generation-cnSkill
- routerbase-model-routing-cnSkill
- topic-bookmarks-reorganizer-cnSkill
- tree-ring-memory-cnSkill
- tweetclaw-twitter-automation-cnSkill
- ui-layout-analyzer-cnSkill
- wechat-theme-extractor-cnSkill
- weixin-article-to-obsidian-cnSkill
- xquik-data-cnSkill
- x-twitter-scraper-cnSkill
- yuque-lakebook-export-cnSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
40 rules. About 0 are common, 33 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈33
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill to turn an early feature note into a small documentation set that engineers can implement independently.
- Distinctive: line 16
Use this skill when the user asks to:
- Distinctive: line 21
Add Mermaid business flows, interaction flows, sequence diagrams, or API contract indexes.
- Distinctive: line 22
Ask whether new frontend UI surfaces should reserve optional Pencil design placeholders.
- Distinctive: line 26
Do not use this skill for:
- Distinctive: line 36
Follow this workflow and keep the three output documents separated by owner responsibility.
- Distinctive: line 40
Create or update three documents:
- Distinctive: line 50
Read repository instructions first.
- Distinctive: line 51
Read the relevant AGENTS.md files before editing.
- Distinctive: line 52
Follow local documentation style, file placement, naming, and package conventions.
- Distinctive: line 55
Read the initial feature note completely.
- Very specific: line 60
Use rg and targeted file reads to find existing pages, routes, components, hooks, generated API clients, models, schemas, services, tests, …
- Distinctive: line 61
Prefer existing modules and conventions over new abstractions.
- Distinctive: line 62
If an existing component or module can be reused, document the reuse path and do not create a design placeholder for it.
- Distinctive: line 65
Keep names consistent across all three documents.
- Distinctive: line 67
Keep frontend and backend documents independently actionable: each should be implementable by its owner without reading internal details …
- Distinctive: line 68
Put shared contract facts in the overview and repeat only the consumer-facing subset needed in each implementation document.
- Distinctive: line 70
Write the overview document.
- Distinctive: line 72
Always include at least one Mermaid end-to-end business flow in the overview document.
- Distinctive: line 75
Write the frontend document.
- Distinctive: line 78
Before defining or creating any Pencil placeholders, ask the user whether they want placeholders reserved unless they already explicitly …
- Very specific: line 79
If the user does not need Pencil placeholders, do not create .pen files and document the decision briefly.
- Distinctive: line 80
If the user wants Pencil placeholders, define them only for genuinely new pages, views, sections, panels, blocks, or components.
- Distinctive: line 83
Write the backend document.
- Distinctive: line 89
Create design placeholders only after user opt-in.
- Distinctive: line 90
Ask a concise yes/no question before creating placeholder files if the user has not already stated a preference.
- Very specific: line 91
If the user declines or says placeholders are not needed, do not create .pen files.
- Very specific: line 92
Create .pen files only for new frontend UI surfaces that require manual design later and that the user wants reserved.
- Very specific: line 93
Do not create .pen files for reused existing components, simple text changes, existing list rows, existing tabs, or existing entry buttons.
- Very specific: line 94
Place placeholders near the feature docs, for example docs/features/<feature>/pencil/<surface>.pen.
- Very specific: line 95
When the project uses Pencil .pen JSON files, an empty placeholder may contain only:
- Distinctive: line 102
Check links, heading consistency, Mermaid syntax, document split boundaries, and that the overview document contains Mermaid code blocks.
- Distinctive: line 105
Run repository documentation or skill validators when available.
- Distinctive: line 110
Do not put backend implementation internals in the frontend document.
- Distinctive: line 111
Do not put frontend component or layout decisions in the backend document.
- Distinctive: line 112
Do not invent new backend APIs when an existing contract is sufficient.
- Distinctive: line 113
When a new API is required, document method, path, operation ID, auth, request schema, response schema, errors, pagination, sorting, and …
- Distinctive: line 114
When the frontend uses generated API code, require the generated client path and regeneration command instead of scattered handwritten API …
- Distinctive: line 115
Keep all paths project-relative in documentation.
- Distinctive: line 119
Use quoted Mermaid node labels when labels contain punctuation.
≈ “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
Feature Doc Splitter
Overview
Use this skill to turn an early feature note into a small documentation set that engineers can implement independently. The output is three build-ready documents: an overview document, a frontend implementation document, and a backend implementation document.
The documentation must connect the request to the real codebase, separate frontend and backend responsibilities, define shared contracts, include required Mermaid diagrams, and make unknowns explicit. For new UI surfaces, the workflow also decides whether optional Pencil placeholders should be reserved.
When to Use
Use this skill when the user asks to:
- Split an initial feature requirement document into overview, frontend, and backend implementation documents.
- Convert rough product notes into build-ready technical documentation.
- Inspect an existing codebase before writing feature implementation docs.
- Add Mermaid business flows, interaction flows, sequence diagrams, or API contract indexes.
- Ask whether new frontend UI surfaces should reserve optional Pencil design placeholders.
Do not use
Do not use this skill for:
- Implementing the feature code itself.
- Writing a single unsplit PRD or marketing brief.
- Designing UI visuals in Pencil.
- Backend-only API design that does not require a three-document feature split.
- Frontend-only component work that does not require overview and backend implementation docs.
Instructions
Follow this workflow and keep the three output documents separated by owner responsibility.
Required Output
Create or update three documents:
- Overview document: goal, background, scope, non-goals, business objects, end-to-end flow, cross-team contracts, required Mermaid diagrams, rollout plan, risks, and acceptance criteria.
- Frontend implementation document: frontend-only routes, pages, sections, components, state, hooks, API integration points, interaction states, Mermaid flows, tests, and optional Pencil placeholders for new UI surfaces.
- Backend implementation document: backend-only data model, migrations, API routes, schemas, services, validation rules, statistics formulas, jobs, notification or event creation, Mermaid flows, tests, and acceptance criteria.
The overview document must link to the frontend and backend implementation documents by project-relative paths, and it must contain Mermaid diagram code blocks.
Workflow
- Read repository instructions first.
- Read the relevant
AGENTS.mdfiles before editing. - Follow local documentation style, file placement, naming, and package conventions.
- Preserve unrelated user changes.
- Read the relevant
- Read the initial feature note completely.
- Identify the user goal, affected actors, business terms, ranking or statistics rules, visible UI, backend data needs, notification needs, and implied permissions.
- Record ambiguous points as assumptions or open questions in the documents instead of hiding them.
- Inspect the codebase before writing.
- Use
rgand targeted file reads to find existing pages, routes, components, hooks, generated API clients, models, schemas, services, tests, notification code, and statistics or ranking logic. - Prefer existing modules and conventions over new abstractions.
- If an existing component or module can be reused, document the reuse path and do not create a design placeholder for it.
- Use
- Define the documentation set.
- Keep names consistent across all three documents.
- Use project-relative links.
- Keep frontend and backend documents independently actionable: each should be implementable by its owner without reading internal details from the other side.
- Put shared contract facts in the overview and repeat only the consumer-facing subset needed in each implementation document.
- Write the overview document.
- Include total goal, business background, scope, non-goals, terminology, actor list, data ownership, API contract index, rollout phases, acceptance criteria, risks, and dependencies.
- Always include at least one Mermaid end-to-end business flow in the overview document.
- Include a Mermaid sequence or interaction flow when multiple systems or roles participate.
- Write the frontend document.
- Include routes or entry points, page or panel changes, component inventory, state model, data loading, API client usage, empty/loading/error states, permissions, i18n or copy needs, analytics if relevant, and tests.
- Include a Mermaid frontend business logic flow and a Mermaid user interaction flow.
- Before defining or creating any Pencil placeholders, ask the user whether they want placeholders reserved unless they already explicitly opted in or out.
- If the user does not need Pencil placeholders, do not create
.penfiles and document the decision briefly. - If the user wants Pencil placeholders, define them only for genuinely new pages, views, sections, panels, blocks, or components.
- Mark reused existing UI explicitly as "reuse existing component, no design placeholder".
- Write the backend document.
- Include models, migrations, API endpoints, request and response schemas, operation IDs, service classes, validation, deduplication or idempotency, permission checks, statistics formulas, events, jobs, and tests.
- Include a Mermaid backend business or statistics flow.
- Include a Mermaid sequence diagram when API, service, database, and event or notification systems interact.
- Specify OpenAPI generation impact when the project uses generated clients.
- Create design placeholders only after user opt-in.
- Ask a concise yes/no question before creating placeholder files if the user has not already stated a preference.
- If the user declines or says placeholders are not needed, do not create
.penfiles. - Create
.penfiles only for new frontend UI surfaces that require manual design later and that the user wants reserved. - Do not create
.penfiles for reused existing components, simple text changes, existing list rows, existing tabs, or existing entry buttons. - Place placeholders near the feature docs, for example
docs/features/<feature>/pencil/<surface>.pen. - When the project uses Pencil
.penJSON files, an empty placeholder may contain only:
{"version":"2.13","children":[]}- Verify the result.
- Check links, heading consistency, Mermaid syntax, document split boundaries, and that the overview document contains Mermaid code blocks.
- Confirm no machine-specific absolute paths were introduced unless the user explicitly requested them.
- Validate
.penJSON if placeholders were created. - Run repository documentation or skill validators when available; otherwise run at least
git diff --check. - Report the checks that were run.
Separation Rules
- Do not put backend implementation internals in the frontend document.
- Do not put frontend component or layout decisions in the backend document.
- Do not invent new backend APIs when an existing contract is sufficient.
- When a new API is required, document method, path, operation ID, auth, request schema, response schema, errors, pagination, sorting, and frontend consumption expectations.
- When the frontend uses generated API code, require the generated client path and regeneration command instead of scattered handwritten API calls.
- Keep all paths project-relative in documentation.
Mermaid Requirements
Use quoted Mermaid node labels when labels contain punctuation.
Minimum diagrams:
- Overview: required end-to-end business flow.
- Overview: sequence or interaction flow when multiple systems or roles participate.
- Frontend: user interaction flow.
- Frontend: frontend business logic or state flow.
- Backend: backend API/service/data flow.
- Backend: sequence or statistics flow when persistence, jobs, or events are involved.
Final Response
Summarize the created or updated documents, list any Pencil placeholders created or intentionally removed, and report validation results. Keep the response concise.
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.

