LLM workflows with BlocPad CLI
Use BlocPad CLI as your source of truth for tasks and context, then use an LLM to implement changes in your repository.Security rule
Never paste yourbp_pat_... token into any LLM or CLI tool.
The basic loop
- Pick a task (or parent task).
- Export the context as Markdown.
- Give the context + instructions to your LLM.
- Apply changes locally and run checks.
- Mark the task done via proposals:
blocpad propose task status --status done --task-number <N>thenblocpad apply --yes.
blocpad command to fetch it (for example: blocpad tasks next <TASK> --json then blocpad tasks focus <TASK> --md).
For Traditional PM projects, the agent can also orient itself with blocpad pm tree --json to see the full Goals → Epics → Stories → Tasks hierarchy.
Export context (recommended)
Single task:ERS-1 has subtasks, export the next suggested leaf subtask:
Prompt template (copy/paste)
Tool-specific guides (CLI)
Where to put rules
- Cursor:
.cursorrules - Codex CLI:
AGENTS.md - Claude CLI:
.claude/config.json - GitHub Copilot CLI:
.github/copilot-instructions.md