This document explains various use cases and command patterns for the Breakdown tool.
Breakdown is primarily designed for use as a CLI tool.
You can install it using the official Deno/JSR standard method with the following command:
deno install -A -f --global breakdown jsr:@tettuan/breakdown
-A
: Allow all permissions (recommended)-f
: Overwrite existing commands--global
: Global installationbreakdown
: Command nameNote:
The CLI module must be specified asjsr:@tettuan/breakdown
.
This is based on theexports
configuration indeno.json
.
When a new version is released, you can overwrite the installation using the same command:
deno install -A -f --global breakdown jsr:@tettuan/breakdown
When importing directly from TypeScript/JavaScript,
you can add it as a dependency using deno add
:
deno add @tettuan/breakdown
cli/breakdown.ts
as the entry point based on the bin
configuration in deno.json
.If you want to use the breakdown command only within a specific project, you can install it to .deno/bin
using the --root
option:
deno install -A -f --global --root .deno -n breakdown jsr:@tettuan/breakdown
After installation, add the bin directory to your PATH:
export PATH="$(pwd)/.deno/bin:$PATH"
To make this setting persistent, add it to your shell configuration file (e.g., ~/.zshrc
or ~/.bashrc
).
If the command is not responding, try the following steps:
which breakdown
deno run --allow-all jsr:@tettuan/breakdown
deno compile -A -o ~/.deno/bin/breakdown jsr:@tettuan/breakdown
echo $PATH
breakdown init
This command creates the necessary working directory structure as specified in the configuration.
The following combinations are available:
Command \ Layer | Command Description | Project | Issue | Task |
---|---|---|---|---|
to | Command to convert input Markdown to the next layer format | Break down to project breakdown to project |
Break down from project to issue breakdown to issue <project_summary.md|written_issue.md> -o= |
Break down from issue to task breakdown to task <issue.md|written_task.md> -o= |
summary | Command to generate new Markdown or generate Markdown for specified layer | Generate project summary in Markdown format echo “ |
Generate issue summary in Markdown format breakdown summary issue –from= |
Generate task summary in Markdown format breakdown summary task –from= |
defect | Command to generate fixes from error logs or defect information | Generate project information from defect information tail -100 “ |
Generate issues from defect information breakdown defect issue –from= |
Generate tasks from defect information breakdown defect task –from= |
breakdown to project <written_project_summary.md> -o=<project_dir>
breakdown to issue <project_summary.md|written_issue.md> -o=<issue_dir>
breakdown to task <issue.md|written_task.md> -o=<tasks_dir>
Project Summary Generate project overview from unorganized information:
echo "<messy_something>" | breakdown summary project -o=<project_summary.md>
Issue Summary Generate issues from task groups:
breakdown summary issue --from=<aggregated_tasks.md> --input=task -o=<issue_markdown_dir>
Task Summary Generate organized tasks from unorganized task information:
breakdown summary task --from=<unorganized_tasks.md> -o=<task_markdown_dir>