Skip to content
GamebreackPublic

About

A plan-tracking skill for AI agent harnesses. Gives agents the roadmap, backlog, and workflow they need to deliver software incrementally — without losing coherence across sessions.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Megaplan — plan-tracking methodology for AI coding agents

Latest release License: MIT Validate

Megaplan provides a plan-tracking methodology for AI coding agents with two-tier visibility (durable ADRs committed in docs/adr/, ephemeral backlog & resumable logs in docs/megaplan/), supporting conversational or spec-first scoping and zero runtime. Documents, not machinery—built to keep shared context clear across sessions.

Status: see the latest release badge above and CHANGELOG.md.

What you get

  • Durable boundaries: architectural decisions live as version-controlled ADRs (docs/adr/).
  • Clean remotes: process logs and backlogs stay ephemeral (docs/megaplan/), tracked locally or excluded on team repos.
  • Resumable work: backlog items have explicit outcome, scope, non-touching constraints, verification criteria, and dated logs.
  • Spec-first entry: start from an interactive interview or an existing OpenSpec/ticket proposal.
  • Zero runtime: plain Markdown and templates. No runner, server, or database required.
  • Portable: host-agnostic skill (skills/megaplan/SKILL.md).

What an item looks like

A sample backlog item file (docs/megaplan/backlog-items/b01.md). The exact format lives in SKILL.md.

# b01: Add export validator

Spec: docs/proposals/export-spec.md

## Outcome
Validator checks export JSON schema before saving.

## Scope
- [x] Parse JSON file
- [ ] Add schema check and error path reporting

## Touches
- `scripts/validator.py:45` — add schema check

## Not touching
- CLI entrypoint or logging config

## Acceptance
- [ ] Invalid schema raises `ValueError` with the failing field path

## Log
- **2026-11-29** — parser added, schema check pending (`a1b2c3d`)

How it works

The agent scopes the work, maintains the backlog and item logs, and graduates boundaries to ADRs. Full flow: flow-map.md. Exact behavior: SKILL.md.

%%{init: {"theme":"base","themeVariables":{"fontFamily":"system-ui, -apple-system, Segoe UI, sans-serif","fontSize":"15px","primaryTextColor":"#1b221e","lineColor":"#8a968f","clusterBkg":"transparent","clusterBorder":"#b7c0ba","titleColor":"#5d6962","edgeLabelBackground":"#ffffff"},"flowchart":{"curve":"basis","nodeSpacing":22,"rankSpacing":30,"padding":14,"htmlLabels":true}}}%%
flowchart LR
    I["<b>Scope item</b><br/>interview or spec"]
    B["<b>Backlog index</b><br/>docs/megaplan/backlog.md"]
    F["<b>Item file</b><br/>scope, log, acceptance"]
    A["<b>ADR graduation</b><br/>docs/adr/"]
    D["<b>Done ledger</b><br/>docs/megaplan/done.md"]

    I -->|"create row"| B
    B -.->|"when needed"| F
    F -->|"boundary needed"| A
    F -->|"review & finish"| D
    D -->|"remove row"| B

    classDef p1 fill:#dbe8f6,stroke:#4a7fb5,color:#1b221e
    classDef p2 fill:#fbefd2,stroke:#c3962c,color:#1b221e
    classDef p3 fill:#d8eee2,stroke:#3f8f68,color:#1b221e
    classDef p4 fill:#e7def4,stroke:#7a5aa6,color:#1b221e
    class I p1
    class B,F p2
    class A p3
    class D p4
Loading

Install

The skill follows the Agent Skills format: a folder with a SKILL.md. Copy skills/megaplan/ into your host's skills directory.

git clone --branch v2.0.0 --depth 1 https://github.com/Gamebreack/megaplan.git
# then copy or symlink megaplan/skills/megaplan into your host's skills directory

With MAO

multi-agent-orchestration (MAO) mao-setup offers megaplan as an optional y/N install.

Works well with

Pairs with OpenSpec for drafting proposals, agent-verification (verify) for independent verification, and flow-map for system maps. None of them is required.

Repository layout

Path What
skills/megaplan/SKILL.md the core skill instruction file
skills/megaplan/templates/ item, backlog, done, ADR, glossary and megaplan templates
scripts/validate.py, tests/ standard-library validator and its tests
flow-map.md end-to-end flow diagrams

Contributing, security, license

CONTRIBUTING.md covers checks, hooks and releases; changes are listed in CHANGELOG.md. Report vulnerabilities privately via SECURITY.md. Licensed under MIT.

About

A plan-tracking skill for AI agent harnesses. Gives agents the roadmap, backlog, and workflow they need to deliver software incrementally — without losing coherence across sessions.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages