.claude/skills/code-assist/SKILL.md
Guides implementation of code tasks using test-driven development in an Explore, Plan, Code, Commit workflow. Acts as a Technical Implementation Partner and TDD Coach — following existing patterns, avoiding over-engineering, and producing idiomatic, modern code.
npx skillsauth add mikeyobrien/ralph-orchestrator code-assistInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guides implementation of code tasks using test-driven development in an Explore, Plan, Code, Commit workflow. Balances automation with user collaboration while adhering to existing package patterns and prioritizing readability and extensibility.
.code-task.md, or URLConstraints:
Apply these patterns throughout all steps:
Interactive Mode: Present actions for confirmation. Explain pros/cons when multiple approaches exist. Ask clarifying questions. Pause at key decision points. Provide educational context.
Auto Mode: Execute autonomously. Document all decisions and reasoning in progress.md. Select the most appropriate approach and document why. Provide comprehensive summaries at completion.
Separation of Concerns:
Documentation goes in {documentation_dir}. Code (tests and implementation) goes in repo_root. Never mix them. Documentation should guide implementation with high-level concepts — not provide it. When including code snippets in documentation, keep them brief and clearly label them as examples or references.
CODEASSIST.md Integration: If CODEASSIST.md exists in repo_root, read it and apply its constraints throughout.
Initialize the project environment and create necessary directory structures.
Constraints:
{documentation_dir}/implementation/{task_name}/ (with logs subdirectory) and verify it exists before proceeding.code-task.md with YAML frontmatter, update status: in_progress and started: <date> (if not already set)💬 See Mode Behavior for mode-specific interaction guidance
Analyze the task description and existing documentation to identify core functionality, edge cases, and constraints.
Constraints:
💬 See Mode Behavior for mode-specific interaction guidance
Search for similar implementations and identify interfaces, libraries, and components the implementation will interact with.
Constraints:
💬 See Mode Behavior for mode-specific interaction guidance
Create test scenarios covering normal operation, edge cases, and error conditions.
Constraints:
💬 See Mode Behavior for mode-specific interaction guidance
Outline the high-level structure and create an implementation plan.
Constraints:
💬 See Mode Behavior for mode-specific interaction guidance
Phase-wide constraints:
{documentation_dir}/implementation/{task_name}/logs/ and search for success/failure indicatorsWrite test cases following strict TDD principles.
Constraints:
💬 See Mode Behavior for mode-specific interaction guidance
Write implementation code to pass the tests, focusing on simplicity and correctness first.
Constraints:
💬 See Mode Behavior for mode-specific interaction guidance
Review the implementation for simplification, improvement, and convention alignment.
Constraints:
💬 See Mode Behavior for mode-specific interaction guidance
Verify the implementation is complete and correct.
Constraints:
💬 See Mode Behavior for mode-specific interaction guidance
Draft a conventional commit message and perform the git commit.
Constraints:
.code-task.md, update frontmatter to status: completed and completed: <date> before committing💬 See Mode Behavior for mode-specific interaction guidance
{documentation_dir}/implementation/{task_name}/ (context.md, plan.md, progress.md, logs/)Input:
task_description: "Create a utility function that validates email addresses"
mode: "interactive"
Expected Process:
Directory/Permission Issues: Create directories if possible, inform user of permission issues, suggest alternatives.
Build Failures: Check CODEASSIST.md for guidance, verify correct directory, try clean builds, check dependencies.
Multi-Package Coordination: Verify dependency order, build in order, create separate commits per package.
Task File Frontmatter Issues: Skip frontmatter updates if missing/malformed. Don't fail the task due to frontmatter issues.
Implementation Challenges: Document in progress.md, propose alternatives. In interactive mode ask for guidance; in auto mode select the most promising approach and document the decision.
• {documentation_dir}/implementation/{task_name}/context.md — Workspace structure, requirements, patterns, dependencies, implementation paths
• {documentation_dir}/implementation/{task_name}/plan.md — Test scenarios, implementation strategy
• {documentation_dir}/implementation/{task_name}/progress.md — Execution tracking, TDD cycles, commit status, challenges
• {documentation_dir}/implementation/{task_name}/logs/ — Build outputs
development
Introspect, explain, and improve Ralph Orchestrator using its published llms.txt doc map. Use this skill whenever the user asks questions about Ralph's behavior, wants to understand how a Ralph internal works (event loop, hats, memories, tasks, backends, presets), debug an unfamiliar failure mode, or propose a code change to the ralph-orchestrator repo. The skill teaches the agent to discover authoritative answers from the live docs via llms.txt before guessing, and to scope improvements through the published architecture rather than the local checkout alone.
development
Run, monitor, resume, merge, and debug Ralph loops. Use this skill whenever the user asks to operate `ralph run` or `ralph loops`, inspect loop state, recover suspended loops, analyze diagnostics, or unblock merge queue issues.
development
Create, inspect, validate, explain, and improve Ralph hat collections. Use this skill whenever the user asks to make or refine a `.ralph/hats/*.yml` workflow, debug hat routing, explain event topology, or tune a multi-hat Ralph run.
testing
A directory-style test skill for smoke testing