This document explains various use cases and command patterns for the Breakdown tool.
Breakdown is primarily intended 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 command--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 published, you can overwrite the installation with 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 with deno add
:
deno add @tettuan/breakdown
cli/breakdown.ts
as the entry point through 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 permanent, 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 specified in the configuration.
The following combinations are available:
Command \ Layer | Command Description | Project | Issue | Task |
---|---|---|---|---|
to | Converts input Markdown to the next layer format | Decompose to project breakdown to project |
Decompose from project to issues breakdown to issue <project_summary.md|written_issue.md> -o= |
Decompose from issue to tasks breakdown to task <issue.md|written_task.md> -o= |
summary | Generates new Markdown or specified layer Markdown | 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 | Generates fixes from error logs or defect information | Generate project info from defect info tail -100 “ |
Generate issues from defect info breakdown defect issue –from= |
Generate tasks from defect info 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>