agentleFS
686f6c61686f6c61/alfred-dev/skills/sync-project-docs/SKILL.md

sync-project-docs

Skill116 starsChanged 4 months agoMITView on GitHub

Usar para sincronizar la documentación viva del proyecto después de una fase. También: actualizar docs/project, índice, architecture.md, compliance.md, threat-model.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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:

    No hay prosa inventada sobre código que no se ha tocado.

    line 45
  2. Very specific:

    No reescribas todo docs/ en cada fase.

    line 50
  3. Distinctive:

    No copies el chat al Markdown.

    line 51
  4. Very specific:

    No marques filled si siguen los _(pendiente)_.

    line 52

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

Sincronizar documentación viva

Resumen

Tras una fase, actualiza solo lo que ha cambiado. El helper crea esqueletos y comprueba la gate. Tú escribes el contenido.

Proceso

  1. Esqueleto e índice:

    python3 .claude/alfred-continuity.py sync-project-docs "$PWD"
  2. Lee docs/project/README.md y el protocolo commands/_docs_vivas.md.
  3. Actualiza únicamente los ficheros de la fase. Si no hubo API nueva, no toques una guía de API. Si no hubo decisión, no inventes un ADR.
  4. Cuando un esqueleto tenga contenido real, deja <!-- alfred-doc:filled --> y quita <!-- alfred-doc:scaffold -->.
  5. Comprueba la gate:

    python3 .claude/alfred-continuity.py check-project-docs "$PWD" --command <comando> --phase <fase>
  6. Si el helper falla, no declares la fase cerrada.

En quick y fix

Sync mínimo: índice + docs/project/current.md. ADR solo si el cambio mueve un límite (auth, persistencia, integración).

Criterios de éxito

  • El índice refleja el estado real (scaffold o filled).
  • No hay prosa inventada sobre código que no se ha tocado.
  • check-project-docs sale 0 antes de cerrar la gate.

Qué NO hacer

  • No reescribas todo docs/ en cada fase.
  • No copies el chat al Markdown.
  • No marques filled si siguen los _(pendiente)_.

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.