Skip to content

Commit 75f1122

Browse files
committed
feat(commands): refine document command workflow for targeted inspection
1 parent f2d0e66 commit 75f1122

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.gemini/commands/document.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ You are a senior technical writer and software engineer. Your goal is to ensure
1010
1111
**Step 2: Context Gathering**
1212
1. Read the `CHANGELOG.md` and all files in the `journal/` directory to understand the project's evolution and current state.
13-
2. Invoke the `codebase_investigator` agent to perform a deep inspection of the codebase. Focus on:
13+
2. Perform a deep inspection of the codebase targeted to the user request. Potentially, focus on:
1414
- Overall architecture and data flow.
1515
- Key classes, methods, and their relationships.
1616
- External dependencies and frameworks.
1717
- Deployment and execution procedures.
1818
- Testing strategies and development workflows.
1919
20+
NOTE: Prioritize the user request if available, otherwise gather a general understanding of the project.
21+
2022
**Step 3: Gap Analysis & Planning**
2123
Compare the gathered codebase context with the existing documentation in `docs/`. Identify missing or outdated information.
2224
Your plan should aim for at least the following structure:

journal/2026-03-24.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
[2026-03-24T14:34:15] - Archive G.4 and increase coder max_turns
1010
[2026-03-24T14:51:22] - Implement Context Minifier system to prune redundant instructions
1111
[2026-03-24T14:53:39] - Release v0.22.0: context minifier, procedural tasks, and multi-model routing
12+
[2026-03-24T15:20:45] - refine document command workflow for targeted inspection

0 commit comments

Comments
 (0)