Create a new plan file in .agents/plans/
You are creating a new plan file in the .agents/plans/ directory.
First, read .agents/ARCHITECTURE.md to understand the project's layered architecture and design principles. This is crucial for planning features that fit into the high-level/low-level API structure.
When planning features, consider the two API layers:
PDF, PDFPage, PDFForm)PdfDict, PdfArray, PdfStream)Most features should follow this pattern:
Example: A gradient feature might have:
createAxialShading(), registerShading() - direct PDF object creationpage.drawGradient() - user-friendly method on PDFPageThe script will automatically:
happy-blue-moon){id}-{slug}.md in .agents/plans/If you have the content ready, run:
bun scripts/create-plan.ts "<slug>" "Your plan content here"
For multi-line content, use heredoc:
bun scripts/create-plan.ts "<slug>" << HEREDOC
Your multi-line
plan content
goes here
HEREDOC
You can also pipe content:
echo "Your content" | bun scripts/create-plan.ts "<slug>"
The created file will have:
---
date: 2026-01-21
title: Plan Title
---
Your content here
The title is automatically formatted from the slug (e.g., my-feature → My Feature).
user-authentication, api-integration)Create a plan file using an appropriate slug based on the conversation context and content for the planning task.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer