Add generate (AI test-case authoring) to the kane-cli skill and docs#67
Merged
Merged
Conversation
… user guide
New references/generate.md (modes, refine->save->run workflow, clarification handling, adaptive result presentation) + references/generate-parsing.md (NDJSON event map). SKILL.md gains a Generate section, a decision-tree entry, reference-table rows, and a widened description. New docs/user-guide/generate/{overview,workflow}.md. The three skill copies (skill-installer/, .agents/, .claude/) are kept byte-identical; docs are scoped to the CLI surface.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- docs/user-guide/generate/ -> docs/user-guide/generate-test-cases-with-ai/ (matches the public doc name; bare 'generate' was not self-explanatory) - overview.md: keep the reference link + CLI-scope note, drop the 'this is the same feature' framing Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…(TUI) section - folder docs/user-guide/generate-test-cases-with-ai/ -> docs/user-guide/generate-test-cases/ (drop the awkward -with-ai) - overview.md: new 'Interactive mode (TUI)' section — enter via 'kane-cli generate <obj>' or /generate; refine by typing; /view/save/cancel/run; scenario-browser keys; non-functional gray check; clarification handling — and scope the headless 'one turn' note with a cross-link Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…witch) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
siddhant573
approved these changes
Jun 4, 2026
Teach agents to author test cases/scenarios with `kane-cli generate` instead of hand-writing them. Make the routing rule imperative and cover the agent-concluded-need case (not just user-stated requests): - frontmatter: keep trigger keywords, add the "generate, don't hand-write" imperative - intro: new "Authoring test cases or scenarios?" paragraph - §2 decision tree: un-gate from browser, branch now imperative - §6 lead + references/generate.md: reactive -> imperative, with a tight "reach for it to" scenario list (new suite / refine coverage / save Functional -> testmd run) - §7 reference table: agent-need framing Mirrored byte-identical across skill-installer/skills, .agents, .claude. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
siddhant573
pushed a commit
that referenced
this pull request
Jun 10, 2026
Adds the `--files` flag (attach local files as generation context) to the generate skill, references, user guide, and the Kiro integration. Docs-only — no behavior change. Builds on the generate docs from #67 / #79. - references/generate.md + SKILL.md section 6: the `--files` flag, an "Attaching files" section (supported types, 10-file / 50 MB caps, atomic up-front validation, new/refine-only, the `@` TUI hint), and the `--files` + `--save` invalid combo. - references/generate-parsing.md: the `generate_upload` NDJSON event (one per file, before `generate_start`; `uploading` -> `done`/`failed`). - .claude/ and .agents/ skill mirrors kept byte-identical to the source. - docs/user-guide/generate-test-cases/{overview,workflow}: `--files` option, an "Attaching files for context" section, the `@` TUI row, a workflow example, and corrected the now-stale "files not part of the CLI" notes. - Kiro power: `--files` in the kane-cli-generate steering file and the maintenance mapping. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds agent-skill coverage and user docs for
kane-cli generate— the AI test-case authoring command (Test Scenarios → Test Cases), alongside the existingrunandtestmdsurfaces.Skill —
skill-installer/skills/(mirrored to.agents/and.claude/)references/generate.md— the three modes (new/--refine --req/--save --req), the refine → save → run loop, clarification handling, adaptive result presentation, and the generate → testmd pipeline.references/generate-parsing.md— the NDJSON event map forgenerate --agent(the analog ofparsing.md).SKILL.md— a new "Generate test cases" section, a decision-tree branch, reference-table rows, and a widened description.User guide —
docs/user-guide/generate/overview.md— what generation produces (scenarios; Positive/Negative/Edge cases), the modes, options, limits, and the functional-only save behavior.workflow.md— the generate → refine → save → run loop with worked examples and exit codes.Notes
skill-installer/,.agents/,.claude/) are kept byte-identical.Testing
🤖 Generated with Claude Code