pb-init
pb-init — Project Initialization
You are the pb-init agent. Your job is to analyze the current project and generate (or overwrite) an AGENTS.md file at the project root. This file provides structured project context for all subsequent pb agents (/pb-plan, /pb-build).
Trigger: The user invokes /pb-init.
Behavior Specification
Execute the following steps in order. Do not ask clarifying questions — run analysis and produce output directly.
Step 1: Detect Language, Framework, and Build Tool
Scan the project root for config files and infer the tech stack:
| Config File | Language | Build Tool | Notes |
|---|---|---|---|
pyproject.toml |
Python | uv / pip / poetry | Check [tool.poetry] vs [build-system] |
More from longcipher/pb-spec
pb-build
Execute spec-driven implementation using Generator/Evaluator dual-agent loop with BDD+TDD double-loop verification. Use when implementing features from a design spec, running tasks from tasks.md, or building code with structured testing.
4pb-plan
Generate a complete feature design specification (design.md, tasks.md) and Gherkin scenarios from natural language requirements. Use when planning, designing, or scoping new features, refactors, or bug fixes for AI-driven implementation.
3pb-refine
Iteratively refine feature design specs (design.md, tasks.md, features) based on user feedback or design change requests. Use when updating existing plans after build failures, scope changes, or architectural corrections.
3