# Project Manager [简体中文](README.zh-CN.md) **An AI project manager you work with through conversation.** The plugin also includes Test Manager, a separate QA skill for evidence-backed test strategy, case design, execution history, and release gates, and BRD Writer, a skill for engineering-ready business requirements. Project Manager owns delivery state under `.projects`; Test Manager owns testing state under `.tests`; BRD Writer owns no project state. Neither state tree impersonates the other. Brief Project Manager as you would a human colleague: explain the outcome, constraints, authority, and what is changing in the real world. It takes responsibility for the working plan—decomposing the outcome, coordinating dependencies and owners, maintaining schedules and risks, tracking evidence, and following changes through. You set direction and make the business decisions that require your authority. Project Manager manages the project. You do not have to convert reality into card movements, field edits, statuses, dependencies, or reports. ![Four-panel overview of working with Project Manager as an AI project manager](skills/project-manager/assets/project-manager-ai-employee-en.png) > “The vendor API will not be available until September 15. The launch date cannot move. Show me the > credible options.” Project Manager traces the affected work, tests the plan against the constraint, updates what the facts support, and brings back the real tradeoff. One conversation can change tasks, dependencies, schedules, risks, decisions, evidence, and reporting together. ```text project reality → reasoning → coordinated change ``` ## What you get - An AI project manager that builds and maintains a verifiable plan tied to your outcome and success criteria. - A current view of progress: what changed, what can move, what is blocked, what threatens the outcome, and which decision is needed. - Connected updates across tasks, dependencies, schedules, risks, and decisions when reality changes. - Completion backed by evidence, with missing information called out instead of invented. - Status reports shaped for operators, project managers, executives, or boards without changing the underlying facts. - One coherent project record across people, delegated agents, external executors, and optional software workflows such as [RPD](https://github.com/yysun/rpd). - Delegated execution that is recorded rather than ephemeral: a run's branches, worktrees, and per-attempt cost are part of the project state, so an interrupted run resumes instead of restarting. - A separate Test Manager skill for risk-based QA, immutable run history, evidence-backed results, and release decisions without turning test cases into proof that execution happened. Project truth stays in a durable, versionable Markdown folder and is validated before changes are saved. Kanban and Timeline visualize that state; they do not become a second source of truth. ## Skills This repository contains three skills with deliberately separate responsibilities: | Skill | Responsibility | State it owns | | --- | --- | --- | | [Project Manager](skills/project-manager/SKILL.md) | Plan, coordinate, execute, track, review, and report product delivery. | `.projects` | | [Test Manager](skills/test-manager/SKILL.md) | Design and manage risk-based QA, test cases, runs, evidence, defects, and release gates. | `.tests` | | [BRD Writer](skills/brd-writer/SKILL.md) | Draft and review engineering-ready business requirements with adaptive scope, field traceability, business rules, NFRs, and Gherkin criteria. | BRD documents | Project Manager and Test Manager are stateful operating skills; BRD Writer is a document-authoring skill. BRD Writer does not own `.projects` or `.tests`, and Test Manager does not replace Project Manager as the delivery coordinator. ## PMI alignment Project Manager is **PMBOK 7 principles-aligned with documented tailoring**. It is not certified by PMI, and no tool can be — this describes how the skill is built, not an accreditation. Tailoring is the load-bearing idea. PMBOK 7 makes tailoring a principle and PMBOK 6 states processes are selected per project, so leaving out an area is compliant *only when the omission is a recorded decision*. A project therefore declares each of the ten PMBOK 6 knowledge areas as applied or tailored out, and tailoring an area out requires a rationale. Reports name a tailored-out area as tailored out with that rationale — never as zero, absent, or on track. What that buys you: cost, procurement, or stakeholder management can be genuinely absent from a small project without the plan looking negligent, while an area you *do* claim to run is enforced. Declaring an area out while configuring its module is a validation failure, so the declaration cannot become fiction. Applied by default: integration (change control, re-verification), scope (success criteria and traceability), quality (acceptance and evidence), and risk. Available when wanted: assumption log, issue log, stakeholder register, lessons register, and closure records. Cost, Earned Value, and critical-path scheduling are not implemented — declare them tailored out, or manage them elsewhere and say so in the rationale. ## User guides - [English user guide](skills/project-manager/README.md) — manage through outcomes, events, constraints, evidence, and decisions. - [中文使用指南](skills/project-manager/README.zh-CN.md) — 通过目标、事件、约束、证据和决策管理项目。 - [Test Manager skill contract](skills/test-manager/SKILL.md) — manage QA strategy, suites, cases, executions, evidence, defects, and release gates under `.tests`. - [BRD Writer skill contract](skills/brd-writer/SKILL.md) — author requirements documents sized to the scope, with field inventories, business logic, non-functional requirements, and testable acceptance criteria. ## Studio Kanban shows planned, ready, active, completed, deferred, and cancelled work. ![Project Manager Studio Kanban view](docs/images/project-manager-studio-kanban.jpg) Timeline shows schedules, dependencies, blockers, and date conflicts. ![Project Manager Studio Timeline view](docs/images/project-manager-studio-timeline.jpg) Studio watches the selected project's durable state and refreshes automatically when the CLI, an agent, or another editor changes it. Automatic refresh waits while a task form or schedule draft is open so local edits are not discarded; the Refresh button remains available as a manual recovery. Initializing a project from a selected workspace root also generates `.projects/.env.local`, `.projects/.gitignore`, `.projects/studio.sh`, and `.projects/studio.cmd`. Run `./.projects/studio.sh` on macOS/Linux or `.projects\studio.cmd` on Windows. The local environment file records the active skill path as `~/...` when it is under the current user's home directory and as an absolute path otherwise. The launchers parse that file as data, never execute it, and reject other relative paths, `~user`, variable references, and shell expressions. ## MCP App Studio is a browser window. The MCP App puts the same project facts inside the conversation, so the status you are talking about sits next to the sentence that changed it. It ships two views. An inline card shows task counts, blocked work, verified success criteria, owner gaps, and the target date. A fullscreen board shows every lane with task detail disclosed in place. The MCP App is **read-only**. You change projects by talking to the agent, and by the skill and CLI scripts as before; the app never writes. It runs as a stdio CLI over MCP, reading the same validated project state Studio reads. Hosts that do not render MCP Apps still get the tools — they receive the compact text summary instead of a view. ### Install as an Agent Plugin The repository root is a self-contained [Agent Plugins 1.0](https://agent-plugins.org/) package. An Agent Plugins client that supports GitHub installation can clone `yysun/project-manager` and load the repository root without selecting a generated subdirectory. ```text project-manager/ ├── plugin.json ├── mcp.json ├── skills/project-manager/ # canonical delivery-coordination skill ├── skills/test-manager/ # canonical QA skill and standalone runtime ├── skills/brd-writer/ # requirements-document authoring skill ├── bin/project-manager-mcp.mjs # bundled MCP server └── ui/ # self-contained MCP App views ``` `npm run build:plugin` refreshes the committed `bin/` and `ui/` runtime artifacts in place. Source, tests, and build tooling may coexist with the portable components; Agent Plugins clients discover only the fixed root manifest, `skills/`, and `mcp.json` locations. `plugin.json` is the canonical release version. Bump it together with the versioned Project Manager skill, Test Manager skill, and MCP App runtime through one explicit command. BRD Writer is bundled without a shared release field: ```bash npm run release:version -- ``` The command does not publish, tag, edit the changelog, or sync an installed copy. After it succeeds, update `CHANGELOG.md`, run `npm test`, and sync the complete affected plugin or skill installation. ### Install in Claude Desktop Claude Desktop does not read Agent Plugins packages, so add the server to `claude_desktop_config.json` (macOS: `~/Library/Application Support/Claude/`): ```json { "mcpServers": { "project-manager": { "command": "node", "args": ["/absolute/path/to/project-manager/bin/project-manager-mcp.mjs"] } } } ``` ### Selecting a project No projects path is configured. When you provide a folder, the agent passes that folder to commands such as `project status ` and to the MCP App. When you omit the folder, the agent searches only below the selected workspace root: one valid project is selected automatically, multiple valid projects require a choice, and no valid project requires an explicit folder. A folder is accepted whether or not anything was configured at launch. Configuration is optional and does two things when you use it. `--projects-root ` (or `PROJECT_MANAGER_PROJECTS_ROOT`) lets projects be selected by ID or name instead of path, **and confines selection to that root** — a project outside it is refused. `--project ` pins a single project. Without either, the server starts with nothing configured and waits to be told. Worth knowing: with no projects root configured, the server can read any Project Manager project on the machine — the same reach the CLI scripts already give the agent. It only reads folders that parse as a project, never arbitrary files. Set a projects root if you want that confined. ## Install Choose the installation that matches what you want. For the complete Agent Plugin — all three skills, the Project Manager MCP server, and its MCP App — ask a client that supports GitHub Agent Plugin installation: > Install the Project Manager plugin from GitHub `yysun/project-manager`. For only the standalone Project Manager skill, ask Codex: > Install the Project Manager skill from GitHub `yysun/project-manager`, path `skills/project-manager`. For only the standalone Test Manager skill, ask Codex: > Install the Test Manager skill from GitHub `yysun/project-manager`, path `skills/test-manager`. For only the standalone BRD Writer skill, ask Codex: > Install the BRD Writer skill from GitHub `yysun/project-manager`, path `skills/brd-writer`. Codex installs only the selected skill directory. A standalone installation does not include root `mcp.json`, `bin/`, or `ui/`, so Project Manager's MCP tools and embedded App are unavailable. Use the explicit nested path `skills/project-manager`, `skills/test-manager`, or `skills/brd-writer` when an installer cannot infer which sibling skill you selected. ## Development ```bash npm ci npm test npm run check:syntax npm run test:e2e:tm npm run pm-studio:dev npm run tm-studio:dev ``` Each Studio development command generates a fresh disposable demo on start, so either UI can run with no setup. To open specific managed state instead: ```bash npm run pm-studio:dev -- --project /absolute/path/to/project npm run tm-studio:dev -- --root /absolute/path/to/workspace/.tests ``` Because a Task Contract binds an absolute project root, a demo is only valid for the checkout that generated it, so the demo is generated rather than committed. Create a persistent one — useful when you want Studio edits to survive a restart — with: ```bash npm run demo npm run demo:tm ``` These write `demo/pm-studio-demo/` and `demo/tm-studio-demo/.tests/` respectively (both gitignored). Launch the persistent demos with: ```bash npm run pm-studio:dev -- --project demo/pm-studio-demo npm run tm-studio:dev -- --root demo/tm-studio-demo/.tests ``` The canonical installable skills are in `skills/project-manager/`, `skills/test-manager/`, and `skills/brd-writer/`. Test Manager's directly runnable source and local Studio stay inside its installable directory. Project Manager Studio source is in `src/project-manager-studio/`; the MCP server is isolated in `src/mcp-app/`; and the MCP App adapter and views live beside the shared Studio code in `src/project-manager-studio/mcp-app/`. Portable manifests stay at the repository root. ## Technical documentation - [Project Manager contract](skills/project-manager/SKILL.md) - [Project conventions](skills/project-manager/references/conventions.md) - [Test Manager contract](skills/test-manager/SKILL.md) - [BRD Writer contract](skills/brd-writer/SKILL.md) - [Changelog](CHANGELOG.md)