indexion-plan-readme
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseindexion plan readme
indexion plan readme
Generate README documentation writing plans based on templates and source analysis.
基于模板和源码分析生成README文档编写计划。
When to Use
适用场景
- User wants to create README files for each package
- User asks to plan documentation writing tasks
- User wants to generate doc tasks for manual or LLM authoring
- Before a documentation sprint, to identify what READMEs need writing
- 用户需要为每个软件包创建README文件
- 用户要求规划文档编写任务
- 用户需要生成供人工或LLM编写使用的文档任务
- 文档冲刺启动前,明确需要编写的README内容
Usage
使用方法
bash
undefinedbash
undefinedGenerate README writing plan using a template
Generate README writing plan using a template
indexion plan readme --template=.indexion/state/templates/readme.md <path>
indexion plan readme --template=.indexion/state/templates/readme.md <path>
Output plans to a directory
Output plans to a directory
indexion plan readme --template=readme.md --plans-dir=.indexion/plans <path>
indexion plan readme --template=readme.md --plans-dir=.indexion/plans <path>
JSON output
JSON output
indexion plan readme --template=readme.md --format=json <path>
indexion plan readme --template=readme.md --format=json <path>
Custom KGF specs directory
Custom KGF specs directory
indexion plan readme --template=readme.md --specs-dir=kgfs <path>
indexion plan readme --template=readme.md --specs-dir=kgfs <path>
Output to file
Output to file
indexion plan readme --template=readme.md -o=readme-plan.md <path>
undefinedindexion plan readme --template=readme.md -o=readme-plan.md <path>
undefinedOptions
可选参数
| Option | Default | Description |
|---|---|---|
| (required) | Template file for README generation |
| .indexion/plans | Output directory for plans |
| markdown | Output format: markdown, json |
| kgfs | KGF specs directory |
| stdout | Output file path |
| 选项 | 默认值 | 描述 |
|---|---|---|
| (必填) | 用于生成README的模板文件 |
| .indexion/plans | 计划输出目录 |
| markdown | 输出格式:markdown、json |
| kgfs | KGF规范目录 |
| 标准输出 | 输出文件路径 |
Workflow
工作流程
- Run to create a README template
indexion doc init . - Run to generate writing tasks
indexion plan readme --template=.indexion/state/templates/readme.md . - Use the generated plans to write READMEs (manually or with LLM)
- 运行 命令创建README模板
indexion doc init . - 运行 命令生成编写任务
indexion plan readme --template=.indexion/state/templates/readme.md . - 使用生成的计划编写README(可手动编写或借助LLM完成)