agentleFS
getGanemogetGanemo/agent-stack-core-oss/skills/manage_project_state/SKILL.md

manage_project_state

Skill0 starsChanged 6 months agoMITView on GitHub

USE this skill any time you create, update, query, or audit a product's `project_management/` repo. It is the canonical source on how the macro state of a product is recorded across roadmap, phases, decisions, and chronological log. Activate when: (a) initializing a new product's `project_management` repo, (b) writing a phase progress entry, (c) recording an architectural decision, (d) updating the repository map after any structural change, (e) auditing whether a product's `project_management` is well-formed. Do NOT activate to write technical README content of individual code repos — that lives in each repo, not in `project_management`.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 4 are distinctive, and 9 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.

  • 9

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every <product>/project_management repo MUST follow this filesystem layout:

    line 45
  2. Very specific:

    _archive/ is frozen: When a phase closes, move its folder there and treat it as immutable.

    line 80
  3. Distinctive:

    Dates: start / target close (real close goes in the phase's own folder).

    line 129
  4. Distinctive:

    If the product has cross-org modules (e.g.

    line 139
  5. Very specific:

    When count exceeds ~10, split into per-decision files in 00_Base/decisiones/<NNNN>-<slug>.md and keep the index in …

    line 165
  6. Distinctive:

    Never edit a past entry; correct in a new dated entry that supersedes.

    line 182
  7. Very specific:

    When the team's governance "create a new product" step creates the project_management repo, scaffold this minimum:

    line 199
  8. Very specific:

    After any meaningful working session on the product, append a progreso.md entry under the current phase.

    line 223
  9. Very specific:

    If the session produced an architectural decision, also add the ADR in 00_Decisiones_Arquitectura.md.

    line 235
  10. Distinctive:

    Do NOT batch a week of work into one entry.

    line 239
  11. Very specific:

    When a phase's Deliverables checklist is complete:

    line 244
  12. Very specific:

    Update 00_Roadmap_<Product>.md: set State: closed, real close date.

    line 248
  13. Very specific:

    Use when auditing an existing project_management for compliance with this skill:

    line 256

≈ “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.

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

Manage project state — project_management repo skill

Many product setups include a Category-A repo named project_management (snake_case exception). This skill defines its internal structure and how to keep it healthy. The repo's existence and obligation are defined by your team's governance documentation. This skill defines what goes inside.

When to use

  • Initialization of a new product → scaffold 00_Base/ + the first phase folder.
  • End of a working session with a meaningful outcome → write a progreso.md entry for the current phase.
  • Architectural decision taken → write a decision record in 00_Base/00_Decisiones_Arquitectura.md (or split into per-decision files once the count exceeds ~10).
  • Repo created, renamed, archived, or transferred → update 00_Base/00_Mapa_Repositorios.md.
  • Auditing an existing product's project_management → run the audit checklist (see "Audit checklist" below).

Skip this skill when:

  • The change is internal to a code repo (then it belongs in that repo's README, CHANGELOG, or own docs).
  • The work is ephemeral and has no decision or outcome worth preserving for future sessions.

The skeleton

Every <product>/project_management repo MUST follow this filesystem layout:

project_management/
├── README.md                         # one-pager: product, current phase, links
├── 00_Base/                          # foundational, atemporal
│   ├── .project_definition.md        # product definition, vision, scope
│   ├── 00_Roadmap_<Product>.md       # phases, dependencies, target dates
│   ├── 00_Mapa_Repositorios.md       # all repos, URLs, purpose, stack
│   ├── 00_Arquitectura_Sistema.md    # architectural decisions affecting
│   │                                 # category C — what's monorepo, what's
│   │                                 # polyrepo, why
│   ├── 00_Decisiones_Arquitectura.md # ADRs (or split into per-decision
│   │                                 # files when count > 10)
│   ├── 00_Convenciones.md            # product-specific conventions that
│   │                                 # extend (not contradict) team governance
│   └── 00_Glosario.md                # product-specific terminology
├── Fase_<NN>_<NombreCorto>/          # one folder per phase in the roadmap
│   ├── progreso.md                   # CHRONOLOGICAL LOG, append-only
│   ├── plan.md                       # what this phase will deliver
│   ├── decisiones.md                 # phase-local decisions (smaller than
│   │                                 # the architectural ones in 00_Base)
│   └── <subdir or asset as needed>/
└── _archive/                         # phases closed and frozen — kept for
    ↳ reference, never edited again

Notes:

  • 00_Base/ is atemporal. Nothing dated lives there — only living, current truth. If .project_definition.md changes, you change it in place; you don't add a "v2" copy.
  • Phase folders are temporal. progreso.md is append-only chronologically. plan.md may be edited as the phase evolves; decisiones.md is append-only once a decision is recorded.
  • _archive/ is frozen. When a phase closes, move its folder there and treat it as immutable. Do not delete.

File contracts

README.md (root)

One-pager. Sections:

# <Product> — project_management

> Macro state of the <Product> product. Internal-only. Public docs at <link to docs site>.

## Product in one line
<one-line product description>

## Current phase
- **<Fase NN_NombreCorto>** — see [Fase_<NN>_<NombreCorto>/progreso.md](./Fase_<NN>_<NombreCorto>/progreso.md)
- Target close: <YYYY-MM-DD>

## Shortcuts to canonical docs
- [Roadmap](./00_Base/00_Roadmap_<Product>.md)
- [Repository map](./00_Base/00_Mapa_Repositorios.md)
- [System architecture](./00_Base/00_Arquitectura_Sistema.md)
- [Architectural decisions](./00_Base/00_Decisiones_Arquitectura.md)
- [Product definition](./00_Base/.project_definition.md)

00_Base/.project_definition.md

Atemporal. Captures:

  • Product: name, brand, what it does in one paragraph.
  • Audience: who pays, who uses, who decides.
  • Value proposition: why this exists.
  • Scope: in / out / future.
  • Business model: how it makes money.
  • Constraints: technical, legal, brand.

00_Base/00_Roadmap_<Product>.md

Phases in order with dependencies and tentative dates. Each phase entry has:

  • Name: Fase_<NN>_<NombreCorto>.
  • Summary: 1–3 lines.
  • Deliverables: bulleted concrete outcomes.
  • Dependencies: which previous phases must close first.
  • State: pending | in_progress | closed.
  • Dates: start / target close (real close goes in the phase's own folder).

00_Base/00_Mapa_Repositorios.md

This file is the per-product mirror of the team's governance. It lists every repo of this product (any category) plus every cross-org repo. For each:

RepoURLCategoryStackBranch defaultVisibilityDescription

If the product has cross-org modules (e.g. shared modules in another org), list them here so cross-references between this product and the shared org are traceable from one place.

00_Base/00_Arquitectura_Sistema.md

Architecture decisions that shape the product code repos: monorepo vs polyrepo, layer separation vs audience separation, primary stack, why. This is the file the governance "applying to a new product" step requires before creating product-code repos.

00_Base/00_Decisiones_Arquitectura.md

ADR-lite log. Each decision:

## ADR <NNN>: <title>

- **Date:** YYYY-MM-DD
- **State:** proposed | accepted | rejected | superseded by ADR <NNN>
- **Context:** what forced the decision
- **Decision:** what we decided
- **Consequences:** what it implies, what it forecloses
- **Alternatives considered:** brief

When count exceeds ~10, split into per-decision files in 00_Base/decisiones/<NNNN>-<slug>.md and keep the index in 00_Decisiones_Arquitectura.md.

Fase_<NN>_<NombreCorto>/progreso.md

Append-only chronological log. Format:

# Phase <NN>: <NombreCorto> — progress

## YYYY-MM-DD — <short title of entry>
<what happened, what was decided, what was tried, links to commits/PRs>

## YYYY-MM-DD — ...

Entries are dated, ordered by date ascending. Latest entry on the bottom. Never edit a past entry; correct in a new dated entry that supersedes.

Fase_<NN>_<NombreCorto>/plan.md

What this phase will deliver. Editable as the phase evolves. Three sections:

  • Objectives — concrete, verifiable.
  • Deliverables — checklist; checked when delivered.
  • Risks / dependencies — what could derail it, what it depends on.

Fase_<NN>_<NombreCorto>/decisiones.md

Decisions whose scope is the phase, not the product architecture. Smaller than the ADRs in 00_Base/. Same template, lighter expectation.

Initializing a new product's project_management

When the team's governance "create a new product" step creates the project_management repo, scaffold this minimum:

project_management/
├── README.md                                    # filled with the placeholder
├── 00_Base/
│   ├── .project_definition.md                   # filled, even if rough
│   ├── 00_Roadmap_<Product>.md                  # at least Fase_01 listed
│   ├── 00_Mapa_Repositorios.md                  # with the Category A repos
│   ├── 00_Arquitectura_Sistema.md               # placeholder if not yet decided
│   ├── 00_Decisiones_Arquitectura.md            # empty index
│   ├── 00_Convenciones.md                       # placeholder
│   └── 00_Glosario.md                           # placeholder
└── Fase_01_<NombreCorto>/
    ├── plan.md
    ├── progreso.md                              # one entry: "phase started"
    └── decisiones.md                            # empty

Commit message: Initial scaffold of project_management for <product>.

Recording session outcomes

After any meaningful working session on the product, append a progreso.md entry under the current phase. Minimum useful entry:

## YYYY-MM-DD — <one-line summary>

- What was done: <bullets>
- Outcomes: <commits, PRs, decisions>
- Pending: <bullets>
- Next: <one-liner>

If the session produced an architectural decision, also add the ADR in 00_Decisiones_Arquitectura.md. If it produced a structural repo change (create/rename/archive/transfer), also update 00_Mapa_Repositorios.md.

Do NOT batch a week of work into one entry. Frequent small entries are healthier than infrequent large ones.

Closing a phase

When a phase's Deliverables checklist is complete:

  1. Append a final progreso.md entry with: ## YYYY-MM-DD — Phase NN closed, summary of outcomes, and the link to the next phase.
  2. Update 00_Roadmap_<Product>.md: set State: closed, real close date.
  3. Move the phase folder to _archive/Fase_<NN>_<NombreCorto>/ (one git mv).
  4. Open the next phase folder.

Once archived, the folder is frozen — never edited again.

Audit checklist

Use when auditing an existing project_management for compliance with this skill:

  • README.md exists, points to current phase.
  • 00_Base/ has the 7 expected files (or their split equivalents).
  • .project_definition.md is non-empty and current.
  • 00_Mapa_Repositorios.md lists every repo of the product, including any cross-org repos.
  • At least one phase folder exists.
  • Each phase folder has plan.md, progreso.md, decisiones.md.
  • progreso.md is chronological and ends with a recent entry (≤ 30 days since last meaningful work, or marks the phase closed).
  • _archive/ exists and only contains closed phases.
  • No technical README content of code repos lives here (those belong in the code repos themselves).

Audit output goes into the next progreso.md entry as a date-stamped section listing gaps and follow-ups.

Anti-patterns

  • Writing technical README content here instead of in the code repo.
  • Editing past progreso.md entries instead of appending new dated ones.
  • Creating phase folders in advance of the roadmap (only the current phase needs a folder; future phases live in the roadmap).
  • Skipping 00_Mapa_Repositorios.md updates when a repo is created/renamed (this is the file your team's cross-org traceability relies on).
  • Letting 00_Base/.project_definition.md go stale when scope changes.
  • Mixing cross-cutting team policies into here that should live in your team's central governance documentation rather than per-product.

Cross-references

  • Governance: <your-governance-doc> (your team's product-structure document).
  • AWaC CLI: the workspace CLI consumes agent-stack/awac.yml#repos, which is in turn driven by what's listed in 00_Mapa_Repositorios.md.

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.