Skip to content

Add generate (AI test-case authoring) to the kane-cli skill and docs#67

Merged
siddhant573 merged 5 commits into
LambdaTest:mainfrom
shravan-lambdatest:feat/TCG
Jun 4, 2026
Merged

Add generate (AI test-case authoring) to the kane-cli skill and docs#67
siddhant573 merged 5 commits into
LambdaTest:mainfrom
shravan-lambdatest:feat/TCG

Conversation

@shravan-lambdatest

Copy link
Copy Markdown
Collaborator

What

Adds agent-skill coverage and user docs for kane-cli generate — the AI test-case authoring command (Test Scenarios → Test Cases), alongside the existing run and testmd surfaces.

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 for generate --agent (the analog of parsing.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

  • The three skill copies (skill-installer/, .agents/, .claude/) are kept byte-identical.
  • Docs are scoped to the CLI surface (text objective); web-product-only inputs are called out as out of scope.

Testing

  • Verified documented flags, events, and exit codes against the CLI.
  • Confirmed relative doc links resolve and the three skill mirrors are identical.

🤖 Generated with Claude Code

shravan-lambdatest and others added 4 commits June 4, 2026 21:34
… 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>
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 siddhant573 merged commit 8099325 into LambdaTest:main Jun 4, 2026
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants