mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 04:45:33 -08:00
Add the Test skill: find untested code and write tests in the project's style
AI Assisted
This commit is contained in:
1 parent
88c72dc2ce
commit
6cd7a7ff80
21 files changed
+753
-16
No files matched your search
@@ -404,6 +404,28 @@ export const SKILLS = Object.freeze([
|
||||
"Before you open a pull request. PR Prep reads what changed on the branch and picks the checks that cover it from the project's test map (or from its config files when there is no map), each with a reason. You untick what to skip, then it runs the rest and says Ready, Ready with notes or Not ready. It writes a PR description to copy, following the repo's template when there is one, and gives the link to open the PR. It never commits, pushes or opens the PR for you.",
|
||||
},
|
||||
}),
|
||||
skill({
|
||||
skill: "plan2code-test",
|
||||
workflow: "test",
|
||||
label: "Testing",
|
||||
name: "Test",
|
||||
pose: "test",
|
||||
builds: false, phased: false, metered: true, templates: false,
|
||||
weight: 1, started: "Test started", ran: "Test run", resume: null,
|
||||
subagents: "Use helpers to read the nearest tests and runner configs for each runner group. Keep the gaps, the plan, the style block, every question and the writing of tests with you. Light strength, low effort.",
|
||||
states: "any",
|
||||
greyed: null,
|
||||
card: {
|
||||
group: "extra",
|
||||
chip: "Utility",
|
||||
title: "Write missing tests",
|
||||
icon: "test",
|
||||
blurb: "Finds code with no tests and writes them in your project's own style.",
|
||||
help: "Finds untested files, shows a test plan in the project's style, then writes and runs unit and integration tests.",
|
||||
about:
|
||||
"When parts of the code have no tests. Test asks where to look (the branch's changes, one folder or the whole project) and finds the files no test covers, and offers a real coverage run when the project already has a coverage tool. It shows a plan that opens with how this project writes tests, so the new tests match the old ones, then writes and runs unit and integration tests. It never changes source code: a test that finds a real bug is handed to Diagnose.",
|
||||
},
|
||||
}),
|
||||
skill({
|
||||
skill: "plan2code-changelog",
|
||||
workflow: "changelog",
|
||||
|
||||
Reference in new issue
Block a user