mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-07-21 10:23:23 -07:00
25d874d87d
- Status line: new src/statusline-claude/ (Planny box-star mascot icon), install/uninstall wiring in install.js, Install All (A) + Custom (S) - Zed agent support across README, AGENTS, docs, init prompt, installer - Rename /plan2code-3b-review to /plan2code-review (now a standalone utility workflow); update file, reference dir, and all cross-references - install.js: fs.rmSync simplifications, async install, summary cleanup - Bump to v1.15.2; CHANGELOG entries for v1.15.0/1/2
63 lines
3.0 KiB
Markdown
63 lines
3.0 KiB
Markdown
# AGENTS.md
|
|
|
|
This file provides guidance to AI coding agents like Claude Code (claude.ai/code), Cursor AI, Codex, Gemini CLI, GitHub Copilot, Devin, Zed, and other AI coding assistants when working with code in this repository.
|
|
|
|
## Project Overview
|
|
|
|
Plan2Code is a structured 4-step workflow methodology for AI-assisted software development. It provides prompt templates that can be installed globally or per-project for various AI coding tools (Claude Code, Cursor, Copilot, Continue, Windsurf, Codeium, Devin, Zed).
|
|
|
|
**Version:** Check `version.json` for current version
|
|
**Author:** Justin Parker
|
|
**License:** MIT
|
|
|
|
## How to Use This File
|
|
|
|
This file is an index — each section below contains a brief summary and a link to a detail file in `.agents-docs/`. Read only the sections relevant to your current task. Full details (commands, tables, file lists) are in the linked files. The sections "Git Commit Messages" and "Project Overview" are fully inline here.
|
|
|
|
## Architecture
|
|
|
|
High-level directory structure, key files, workflow prompt inventory, and file naming conventions.
|
|
|
|
Details: [Architecture](./.agents-docs/AGENTS-architecture.md)
|
|
|
|
## Plan2Code Loop
|
|
|
|
Autonomous CLI tool (`plan2code-loop/`) that implements specs by looping through tasks. Covers loop architecture, modes (one-task vs one-phase), completion markers, and key source files.
|
|
|
|
Details: [Plan2Code Loop](./.agents-docs/AGENTS-plan2code-loop.md)
|
|
|
|
## Plan2Code Metrics
|
|
|
|
Recursive self-improvement toolchain (`plan2code-metrics/`) for collecting run metrics, aggregating by prompt generation, diagnosing weak steps, and proposing prompt edits.
|
|
|
|
Details: [Plan2Code Metrics](./.agents-docs/AGENTS-plan2code-metrics.md)
|
|
|
|
## Plan2Code Status Line (Claude CLI)
|
|
|
|
Optional CLI status bar (`src/statusline-claude/`) for Claude Code. Displays model, project, branch, context usage, usage stats (rate limits or token counts), git diff stats, and duration. Reads data directly from Claude Code's stdin JSON — no API calls, no auth, no background processes. Included in `Install All + dev tools` (`A`); also available via `install.js` Custom → S (opt-in).
|
|
|
|
Details: [Architecture](./.agents-docs/AGENTS-architecture.md) (see Status Line section)
|
|
|
|
## Development Commands
|
|
|
|
Build commands, installer menu options, how the installer generates platform-specific files, platform format table, and how to edit workflow prompts.
|
|
|
|
Details: [Development Commands](./.agents-docs/AGENTS-development-commands.md)
|
|
|
|
## Code Style & Gotchas
|
|
|
|
Language/toolchain conventions for `install.js` vs TypeScript packages, and pitfalls to avoid (version sync, `.gitignore` pre-flight, character limits, User Feedback table format).
|
|
|
|
Details: [Code Style & Gotchas](./.agents-docs/AGENTS-code-style.md)
|
|
|
|
## Mascot
|
|
|
|
The project has a mascot called "Planny" - an ASCII art robot that appears in installer output and workflow prompts. Mascot variants are defined in `MASCOT` constant in `install.js` and appear in workflow markdown files.
|
|
|
|
```
|
|
╭───╮
|
|
│ ● │
|
|
│ ◡ │
|
|
╰───╯
|
|
```
|