agentleFS
alvaroofernaandezalvaroofernaandez/dotfiles/skills/readme-portal/SKILL.md

readme-portal

Skill5 starsChanged 4 days agoMITView on GitHub

Trigger: readme visual, portal de docs, botones en el readme, documentar y versionar el repo, organizar repo, docs hub. Build image-card README portals, docs hub, folder READMEs and versioned units.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never invent facts: read every file, folder or doc before describing it.

    line 16
  2. Distinctive:

    Do not move or rename folders consumed by a build, test or manifest.

    line 17
  3. Distinctive:

    Keep ALL existing README content when restructuring.

    line 18
  4. Distinctive:

    No GitHub Actions unless the repo already uses them.

    line 22
  5. Very specific:

    Add guard tests from assets/*.test.mjs.

    line 44
  6. Very specific:

    Run the full suite plus the generator, render one SVG with rsvg-convert and look at it.

    line 45

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Activation Contract

Load when the user wants a repo's README turned into a visual docs portal: image-card buttons, a docs hub, folder READMEs, or versioned units (plugins, packages, services, skills).

Hard Rules

  • Never invent facts: read every file, folder or doc before describing it.
  • Do not move or rename folders consumed by a build, test or manifest; organize by documenting them.
  • Keep ALL existing README content when restructuring; move it, never delete it.
  • Docs language = the repo's existing convention. Skill templates are English; Spanish in them is only an example.
  • Images are generated by scripts/brand/cards.mjs from cards.config.json; never hand-made binaries. One command regenerates them.
  • Files shipped inside packages (npm tarball READMEs, kit files) get no repo-relative links or heroes.
  • No GitHub Actions unless the repo already uses them.
  • One conventional commit per step; no AI attribution unless the user's rules say otherwise.

Decision Gates

SituationAction
Badges, GitHub description/topics neededUse repo-prep; do not duplicate
README must stay current before pushUse readme-guardian
Repo has logo/colorsDerive the palette from them
No brand at allDerive a palette; ask once only if unsure
Repo has no NodeStill run the generator once; port the tests to the repo's runner
Unit dir globbed by a buildExclude manifest and changelog from the build, add a test
No versionable unitsSkip step 5

Execution Steps

  1. Explore: areas, existing docs, folders with content, units, docs language, brand, test runner, build globs.
  2. Install the generator: copy assets/cards.mjs to scripts/brand/, fill cards.config.json from assets/cards.config.example.json (one card per area, one hero per documented folder, a docs hero), run it, add an npm/make script.
  3. Root README from assets/README.template.md; docs hub from assets/docs-README.template.md.
  4. Folder READMEs from assets/folder-README.template.md, one per content folder, with a back link.
  5. Version units: manifest, per-unit CHANGELOG, version line in each unit doc, bump rule in the maintainers doc. See references/versioning-units.md.
  6. Add guard tests from assets/*.test.mjs; adapt to the repo's runner. See references/guard-tests.md.
  7. Run the full suite plus the generator, render one SVG with rsvg-convert and look at it.
  8. Commit per step.

Output Contract

Return: images generated (count, folder), READMEs created or rewritten, manifests and changelogs, tests added with their results, and anything skipped or left for the user.

References

  • references/workflow.md (layout rationale, card and hero choices)
  • references/versioning-units.md
  • references/guard-tests.md
  • assets/ (generator, config example, README templates, test templates, manifest and changelog templates)

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.