runkids/veto/implement-feature
- community
Checking that the SKILL.md file is still in the repository.
Implement a feature or fix using TDD workflow in the veto Rust codebase. Use this skill whenever the user asks to: add a new rule category, implement a CLI subcommand, add an auth method, modify the risk engine, add a new integration (setup command), or write Rust code for veto. This skill enforces test-first development and follows veto's module conventions. If the request involves writing Rust code and tests, use this skill.
Install
npx vskill@latest install runkids/veto/implement-featureSKILL.md
Implement a feature following TDD workflow. $ARGUMENTS is a spec file path or a plain-text feature description.
Scope: This skill writes Rust code and tests. It does NOT update docs (update README manually if needed).
Workflow
Step 1: Understand Requirements
If $ARGUMENTS is a file path:
- Read the spec file
- Extract acceptance criteria and edge cases
- Identify affected modules
If $ARGUMENTS is a description:
- Search existing code for related functionality
- Identify the right module to extend
- Confirm scope with user before proceeding
Step 2: Identify Affected Files
Map the feature to veto's module structure:
Step 3: Write Failing Tests First (RED)
Write tests in the relevant module's #[cfg(test)] mod tests:
For integration tests, use assert_cmd in tests/:
Verify tests fail:
Step 4: Implement (GREEN)
Write minimal code to make tests pass:
- Follow existing patterns in each module
- Use
coloredcrate for terminal output - Use
thiserrorfor error types - Register new CLI commands in
cli/mod.rs(Clap derive) - Wire command dispatch in
commands/mod.rs
Key patterns:
- Rules: Add patterns to
defaults.rs, types totypes.rs, logic toengine.rs - Auth: Add method to
auth/, register inmanager.rs - Commands: Add handler in
commands/, register incli/mod.rs - Config: Add fields to
types.rs, parsing toloader.rs
Verify tests pass:
Step 5: Quality Check
Fix any issues before proceeding.
Step 6: E2E Verification
If the feature affects CLI-visible behavior:
- Update
scripts/e2e.shwith new test cases - Run
make e2eto verify
Step 7: Report
- List all created/modified files
- Confirm each acceptance criterion is met with test evidence
- Show
cargo testoutput as proof
Rules
- Test-first — always write failing test before implementation
- Minimal code — only write what's needed to pass tests
- Follow patterns — match existing code style in each module
- 3-strike rule — if a test fails 3 times after fixes, stop and report
- No speculative features — only implement what's in the spec/description
- Verify with `make check` — must pass fmt, clippy, and all tests
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.skillshare/skills/implement-feature/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/runkids/veto/implement-feature)