Skip to content
Data
Skill

/implement

TDD implementation (RED→GREEN→REFACTOR) → verify → review

From plugin
toktrack
1966 skills

Claude Code

$ npx -y skills add mag123c/toktrack --skill implement --agent claude-code

SKILL.md

implement.SKILL.md
name: implement
description: TDD implementation (RED→GREEN→REFACTOR) → verify → review
required_context:
  - .claude/ai-context/architecture.md
  - .claude/ai-context/conventions.md

Implement

Flow

Analysis → Gate pre-run → TDD(RED→GREEN→REFACTOR) → /verify → /review → /wrap

Execution

1. **Analysis**: Review plan, identify affected modules

2. **Gate pre-run (MUST — before coding)** Run the PLAN's `[unverified-gate: probe=…]` / Phase 0 probes before RED. Fail → halt + report (don't build on a falsified assumption). Map Acceptance/DoD → RED tests; mark unverifiable as `[unverified-gate]` to carry to verify/wrap. Detail → `references/gates.md` (tag vocab: `../clarify/references/provenance.md`).

Rust-specific probes:

  • `cargo check` — whether it compiles
  • `cargo test -- --list` — verify test targets exist
  • `make check` — unified fmt + clippy + test gate

3. **TDD Cycle**:

  • RED: Write failing test first
  • GREEN: Minimal code to pass
  • REFACTOR: Clean up (keep tests passing)

4. **Auto-call `/verify`**: On implementation complete 5. **Auto-call `/review`**: On verify pass 6. **Auto-call `/wrap`**: On review PASS

Commands

cargo test
cargo clippy -- -D warnings
cargo fmt --check

Rules

  • No implementation without test
  • On verify fail → fix and retry
  • On review FAIL → fix and retry
  • Complete full chain without stopping
Read more
@mag123c
Ships withtoktrack

Ultra-fast token & cost tracker for LLM Token Usage (e.g. Claude Code)

Stars on GitHub

Momentum

stars in total
196
Star history of mag123c/toktrack on GitHub, a chart by star-history.com

Other skills on toktrack.

clarify

clarify

Adaptive requirements clarification with auto-depth routing. Shallow (Q&A) for simple tasks, Deep (exploration + DRAFT + PLAN)…

@mag123c@mag123cInstall Skill
review

review

Multi-agent code review for Rust CLI/TUI. UX Review inactive (terminal UI — no web frontend). Code Review only. Includes…

@mag123c@mag123cInstall Skill

More skills from other plugins.

context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem04d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog10d41k
@posthog@posthogInstall Skill

Questions about implement.

Which coding agents can use implement?
implement installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.