document-feature
Skill1 starsChanged 41 days agoMITView on GitHub
Write a step-by-step "how do I extend X" developer guide for a feature/extensibility point in this repo, in both documentation/en/ and documentation/pl/, following this project's established documentation format. Use whenever the user asks to document a feature, write a guide for something, or after building a genuinely new extensibility point per CLAUDE.md's "## Documentation" rule.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- bbvch-ai/aihub-coretheir own version, first seen Oct 25, 2026
- avihaymenahem/velotheir own version, first seen Oct 8, 2026
- martinappberg/chimaeratheir own version, first seen Sep 28, 2026
- iopsystems/skills-mcptheir own version, first seen Aug 24, 2026
- WhatIfWeDigDeeper/application-trackertheir own version, first seen Feb 10, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- avihaymenahem/velo★ 715same name
- bbvch-ai/aihub-core★ 16same name
- martinappberg/chimaera★ 7same name
- iopsystems/skills-mcp★ 6same name
- WhatIfWeDigDeeper/application-tracker★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- cleanupSkill
- commitSkill
- create-prSkill
- deps-updateSkill
- extend-orbitSkill
- fix-ciSkill
- fix-reviewSkill
- frontend-polishSkill
- responsive-checkSkill
- reviewSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
No
// ...gap fragments: Every code sample must be either the real, complete method/class as it exists in the repo right now, or a … - Very specific: line 25
Update the top-level documentation/en/README.md and documentation/pl/README.md structure diagrams (the fenced tree under "## Structure") if …
- Very specific: line 33
If the ask is narrower ("document the new X setting field"), it may fit as a new step inside an existing guide (see …
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Document a feature
Produces one new guide (or a new numbered step in an existing guide series), in both documentation/en/ and documentation/pl/, matching the format already established by documentation/en/integrations/ (six-file worked example: a README.md index plus five numbered NN-*.md guides). Read that folder first if you haven't already — it is the canonical style reference for every rule below.
Inputs
The user will name a feature, subsystem, or extensibility point (e.g. "document the notification preferences system", "write a guide for adding a new activity log type"). If they don't specify:
- Category — which subfolder under
documentation/en|pl/this belongs to (e.g.integrations,permissions,notifications). Infer it from the feature; if genuinely ambiguous, ask. - Scope — one guide covering the whole feature end-to-end, vs. a new step appended to an existing category's series (e.g. adding a "how to add a new notification channel" step next to existing notification guides). Check whether a matching category folder already exists under
documentation/en/before assuming you need a new one.
Non-negotiable rules (from documentation/README.md and CLAUDE.md)
- Write the English version first, completely, before starting the Polish translation.
- Every guide must exist in both
documentation/en/<category>/anddocumentation/pl/<category>/, at the same relative filename. - Code blocks, file paths, shell commands, and inline code comments stay verbatim in English in the Polish version. Only prose, headings, and explanatory text get translated. Never translate a PHP/TS identifier, a comment inside a code fence, or a path.
- No
// ...gap fragments. Every code sample must be either the real, complete method/class as it exists in the repo right now, or a complete, runnable worked example in the exact style of the surrounding real code — copy-paste-able, not illustrative pseudocode. - Guides are numbered, step-by-step, in the order a developer would actually perform them (e.g.
01-add-a-new-integration.md,02-...). Steps within a file are## Step 1 — ...,## Step 2 — ..., etc. - Every guide points at the actual test files to update or add — not just production code. Never skip the tests section.
- A category folder needs its own
README.mdindex listing its guides in the order they'd be needed, plus a short "architecture in one paragraph" section. Mirror the tone and structure ofdocumentation/en/integrations/README.md. - Update the top-level
documentation/en/README.mdanddocumentation/pl/README.mdstructure diagrams (the fenced tree under "## Structure") if you're adding a new category folder that isn't listed there yet. Don't touch them for a new file inside an existing category.
Procedure
- Investigate the real code first. Before writing a single word, use Explore/Grep/Read to find every file the feature actually touches — models, migrations, services, repositories, policies, controllers, routes, listeners, frontend types/components, and existing tests. Do not write a guide from memory or assumption; every snippet in the final guide must trace back to a file you actually read in this repo (or, for a "how to add a new one" guide, a plausible worked example in that exact same style — see how
documentation/en/integrations/01-add-a-new-integration.mduses a not-yet-built "Slack" integration as its worked example, built entirely from patterns lifted from the real, already-built Discord integration). - Decide the guide's shape based on what you found:
- If the feature is a single, already-complete implementation and the ask is "document how this works / how to extend it," write it as a worked example the way
01-add-a-new-integration.mddoes — walk through adding one new instance of the pattern (a new integration, a new permission, a new event type, etc.), not just narrating the existing one. - If the ask is narrower ("document the new X setting field"), it may fit as a new step inside an existing guide (see
03-add-integration-settings.md's Part A/Part B split for a model of covering two related but distinct extension shapes in one file).
- If the feature is a single, already-complete implementation and the ask is "document how this works / how to extend it," write it as a worked example the way
- Write the English guide(s) under
documentation/en/<category>/, following the six rules above. Use real file paths as section headers (File: app/Services/Whatever.php). Include a "one rule that matters most" or similar callout only if there's a genuine non-obvious gotcha to warn about (see04-add-a-new-event-type.md's callout about theCommentAddedbug) — don't manufacture one if the feature has no such trap. - Update/create
documentation/en/<category>/README.md— add the new guide to its numbered list, or create the index file (mirroringdocumentation/en/integrations/README.md's structure) if this is a new category. - Translate everything from step 3–4 into
documentation/pl/<category>/, at the same filenames. Translate prose/headings only; leave every code fence, path, and identifier untouched. Read an existing pl/ file (e.g.documentation/pl/integrations/01-add-a-new-integration.md) first to match register and terminology (e.g. "przećwiczony przykład" for "worked example", "Krok N —" for "Step N —"). - Update the top-level structure diagrams in
documentation/en/README.mdanddocumentation/pl/README.mdonly if a new category folder was created. - Verify internal links resolve — relative links between the new README and its guides, and from the top-level READMEs if touched.
- Report a short summary of what was written and where — don't dump the full file contents back into the conversation; the user can open the files.
Committing
If the user's project conventions call for committing documentation work as its own step (check recent commit history — this repo has been committing documentation additions as standalone docs: ... commits), stage exactly the new/changed documentation/** files (and CLAUDE.md only if you touched it) and commit with a Conventional Commit message in English, e.g. docs: add guide for adding a new notification channel. Don't bundle unrelated changes into that commit.
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.

