Back to Kilocode

Sample Plan

.kilo/plans/1779980572375-proud-river.md

7.3.181.3 KB
Original Source

Sample Plan

Goal

Create a small example feature or change using a clear implementation workflow and tracked todo list.

Scope

  • Add or update a minimal code path.
  • Add focused tests for the changed behavior.
  • Run the smallest relevant verification command.
  • Summarize the result and any follow-up work.

Todo

  • Inspect the relevant files and existing patterns.
  • Identify the smallest safe implementation approach.
  • Make the code change.
  • Add or update tests for the behavior.
  • Run targeted tests or typecheck.
  • Fix any failures introduced by the change.
  • Provide a concise final summary with verification results.

Implementation Notes

  • Prefer the smallest correct change over broad refactors.
  • Preserve existing style and naming conventions.
  • Avoid touching unrelated files.
  • If shared upstream-owned files are involved, use the repository’s kilocode_change marker guidance.

Verification

Run the most specific applicable check for the touched area, such as:

  • CLI: bun test ./path/to/test.ts from packages/opencode/
  • VS Code extension: bun run test:unit from packages/kilo-vscode/
  • Cross-package changes: bun run typecheck from the repo root

Risks

  • The sample scope may need adjustment once the real target files are known.
  • Verification commands depend on which package is touched.