By TK-Evans01
Research-Plan-Implement-Eval workflow. Stubs/tests/bodies as separate subagents. Worktree-first, per-phase review with capped fix loop.
Start collaborative design process with brainstorming and planning
Create implementation plan from design document
**Implementation plan directory:** `$1`
Take a general idea and make it specific
Explains how to customize design and implementation plans with project-specific guidance
Use when stubs and tests for a task are committed and red, to write function bodies one at a time until tests go green and /verify passes.
Fixes issues identified by code-reviewer and triggers re-review. Use when code-reviewer returns any issues that need to be addressed before merge approval.
Use early in design (during /start-design-plan) to batch up to 5 high-leverage clarifying questions in ONE dispatch, classified by type (ambiguity, missing context, design choice). Single-shot - no follow-up rounds.
Per-phase quality gate. Dispatch after body-implementor commits all bodies in a phase. Validates plan alignment, FP-primitives compliance, refactor behavior preservation, test coverage, and architecture. Emits a Critical/Important/Minor punch list, or a BLOCKED report at `.tk-harness/blocked/<phase-id>-<UTC-timestamp>.md` after 3 cycles.
Use when completing development phases and project context files may need updating - analyzes what changed since phase start, identifies affected CLAUDE.md or AGENTS.md files, and coordinates updates to maintain accurate project documentation.
Use after initial design context is gathered, before brainstorming - resolves contradictions in requirements, disambiguates terminology, clarifies scope boundaries, and verifies assumptions to prevent building the wrong solution
Use when creating or developing anything, before writing code or implementation plans - refines rough ideas into fully-formed designs through structured Socratic questioning, alternative exploration, and incremental validation
Use when executing implementation plans with independent tasks - dispatches stub-author, test-author, body-implementor in sequence per task; reviews once per phase; loads phases just-in-time
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Use when completing development phases or branches to identify and update CLAUDE.md or AGENTS.md files that may have become stale - analyzes what changed, determines affected contracts and documentation, and coordinates updates
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Claude Code plugin marketplace implementing a strict research-plan-stub-test-implement-eval (RPSTIE) workflow with Tier-2 nearly-pure functional discipline.
Status: M0 — skeleton. Plugin manifests, structure, conventions in place. No agents/skills/commands implemented yet.
Rough Idea
|
v
/start-design-plan ---> Design Document (committed)
| (clear context)
v
/start-implementation-plan ---> Phase files + worktree
| (clear context)
v
/execute-implementation-plan ---> per task: stub-author -> test-author -> body-implementor
per phase: code-reviewer -> bug-fixer (3-strike cap)
end: librarian -> code-reviewer -> test-analyst
|
v
/finish-branch ---> merge / PR / discard
Verification: /verify runs the project's configured linters/typecheck/tests. Linter configs are project-owned (set up once per project, not bundled by the harness). No per-language verify skills.
Main thread runs at top-line model (Opus). Subagents default to Sonnet; reviewer escalates to Opus for subtle catches.
| Plugin | Purpose |
|---|---|
tk-foundation | Generic subagents + base skills |
tk-research | Codebase + internet research subagents |
tk-house-style | Tier-2 nearly-pure FP discipline + per-language quick cards |
tk-verify | Thin /verify runner + edit-validation hook |
tk-rpie | RPSTIE workflow commands and subagents |
tk-hooks | Security hardening, CLAUDE.md reminder, skill reinforcement |
| Stage | Agent | Model |
|---|---|---|
| Orchestrate | main thread | opus |
| Research | codebase-investigator, internet-researcher | sonnet |
| Clarify | clarifying-questioner | sonnet |
| Stubs | stub-author | sonnet |
| Tests | test-author | sonnet |
| Bodies | body-implementor | sonnet |
| Review (per phase) | code-reviewer | opus |
| Fix | bug-fixer | sonnet |
| Final tests | test-analyst | sonnet |
| Docs | librarian | sonnet |
Default for projects using this harness. Project may override via .tk-harness/style.md.
See plugins/tk-house-style/skills/nearly-pure-functional/SKILL.md (M3).
/plugin marketplace add https://github.com/TK-Evans01/tk-harness.git
/plugin install tk-rpie@tk-harness
/plugin install tk-house-style@tk-harness
# ... etc
tk-rpie core — agents + key skills + commandstk-house-style — nearly-pure-functional skill + per-lang cardstk-verify — thin /verify command + edit-validation hooktk-hooks — port ed3d hook trioNote: triage gate deferred. Every task currently routes through full RPSTIE.
RPSTIE vs tk-rpie. "RPSTIE" (Research-Plan-Stub-Test-Implement-Eval) is the workflow acronym, capturing all six stages including the explicit Stub and Test split. "tk-rpie" is the plugin name; we kept the shorter form for namespace ergonomics in skill / agent references (
tk-rpie:writing-stubs-and-docs, etc.). The plugin name is not changing.
Inspired by and partially derived from ed3dai/ed3d-plugins by Ed Ropple, which itself derives from obra/superpowers by Jesse Vincent.
Files derived from those projects retain their original MIT license (see per-plugin LICENSE files).
CC-BY-SA-4.0 for original content. MIT for files derived from obra/superpowers (marked per-file or per-plugin).
npx claudepluginhub tk-evans01/tk-harness --plugin tk-rpieResearch subagents (codebase, internet, combined) and supporting skills. Used by tk-rpie design and verification phases.
Generic-purpose subagents and base skills the rest of the harness depends on.
Tier-2 nearly-pure functional house style; per-language quick cards (TS, Python, Rust); testing discipline; FP-primitives glossary.
Cross-cutting hooks: security hardening (PreToolUse/PostToolUse secret leak detection), CLAUDE.md reminder, skill reinforcement.
Verification gate: typecheck, lint, architectural lint, purity checks. Includes /verify command and edit-validation hook.
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
Superpowers Plus core skills library for Claude Code: planning, execution routing, TDD, debugging, and collaboration workflows
Persistent file-based planning for AI coding agents. Crash-proof markdown plans (task_plan.md, findings.md, progress.md) that survive context loss and /clear, with an opt-in completion gate and multi-agent shared state. Manus-style. Works with Claude Code, Codex CLI, Cursor, Kiro, OpenCode and 60+ agents via the SKILL.md standard. Includes Arabic, German, Spanish, and Chinese (Simplified and Traditional).
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.