charted-red
Writes the next failing test based on provided design doc and existing todo tests
How do I install this agent skill?
npx skills add https://github.com/marmicode/skills --skill charted-redIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is designed to automate TDD workflows by implementing failing tests based on design documents. It is generally safe, although it presents a low risk of indirect prompt injection as it processes untrusted file content to generate code that is subsequently written to the local file system.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
1/1 file flagged
What does this agent skill do?
Context
- designDocPath: $ARGUMENTS[0]
- testFilePath: $ARGUMENTS[1]
Task
Based on the design doc at ${designDocPath} (if present), implement the body of the next todo test in ${testFilePath} without enabling it (i.e. keep "it.todo").
- Remove the step-by-step comment instructions from the test body and replace them with actual code.
- Remember that you love TDD and you want to write tests first.
- Implement the test only, do not implement the feature.
Example
Before
it.todo("compute sum", () => {
// Inject calculator
// Call calculator.sum(1, 2)
// Assert that the result is 3
});
After
it.todo("compute sum", () => {
const calculator = t.inject(Calculator);
const result = calculator.sum(1, 2);
expect(result).toBe(3);
});
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/marmicode/skills/charted-red">View charted-red on skillZs</a>