Skip to content

Instantly share code, notes, and snippets.

View malcolmgreaves's full-sized avatar

Malcolm Greaves malcolmgreaves

View GitHub Profile
@SilenNaihin
SilenNaihin / setup-ralph.md
Created January 16, 2026 07:39
Claude Code /setup-ralph command - Set up Ralph autonomous development

Ralph Setup

Set up Ralph autonomous development for a project.

Context

This command sets up Ralph for autonomous development. You should already have:

  • A project with basic structure (use /setup-repo first if needed)
  • A clear understanding of the project requirements
  • A plan for implementation (either in your context or written to a plan file)
@SilenNaihin
SilenNaihin / refactor.md
Last active February 6, 2026 21:26
Claude Code: Refactor command for code quality cleanup with jscpd, knip, and code-simplifier

Refactor

You are doing a focused refactoring session. This is a distinct phase, not continuous activity.

Step 1: Detect Project Type

ls package.json pyproject.toml setup.py 2>/dev/null
@SilenNaihin
SilenNaihin / interview-me-planmd.md
Created January 14, 2026 23:21
Claude Code: Interview Me for Plan - in-depth planning interviews

Interview Me for Plan

Read @plan.md and interview me in detail using the AskUserQuestionTool about literally anything: technical implementation, UI & UX, concerns, tradeoffs, etc.

Make sure the questions are not obvious.

Be very in-depth and continue interviewing me continually until it's complete, then write the plan to the file.

@SilenNaihin
SilenNaihin / update-claudemd.md
Last active February 6, 2026 21:25
Claude Code: Update CLAUDE.md with recent learnings

Update CLAUDE.md

You are updating this project's CLAUDE.md to reflect meta learnings (conventions, philosophy, gotchas) and significant recent changes to the codebase.

What TO Add

  • Philosophy/conventions - e.g., "No backwards compatibility unless explicitly requested"
  • Gotchas - Non-obvious things that cause bugs repeatedly
  • Commands or scripts - New ways to run/test things
  • Structure changes - When directories or files move
@SilenNaihin
SilenNaihin / commit-smart.md
Last active February 6, 2026 21:24
Claude Code: Atomic Git Commit command for multi-agent workflows

Atomic Git Commit

Create an atomic git commit for the changes made in this session.

Instructions

  1. First, run git status to see all changes (staged, unstaged, and untracked files).

  2. Identify only the files you touched in this session. Do not commit files modified by other agents or processes.

@SilenNaihin
SilenNaihin / setup-claude-code.md
Last active February 6, 2026 21:25
Claude Code: Global setup command - installs plugins, commands, agents

Setup Claude Code

You are setting up Claude Code globally on this machine. This captures best practices from agentic coding workflows.

Step 0: Check Existing Setup

First, check what's already configured:

ls ~/.claude/commands/ 2>/dev/null
@SilenNaihin
SilenNaihin / gemini-delegate.md
Created January 13, 2026 22:45
Claude Code: Delegate tasks to Google Gemini agent
description
Delegate a coding task to Google Gemini agent for autonomous execution

You are delegating a coding task to Gemini CLI. Gemini will analyze and execute the task.

Your Task

  1. Identify the task from conversation context
  2. Read CLAUDE.md and inject context directly into the prompt
@SilenNaihin
SilenNaihin / codex-delegate.md
Created January 13, 2026 22:45
Claude Code: Delegate tasks to OpenAI Codex agent
description
Delegate a coding task to OpenAI Codex agent for autonomous execution

You are delegating a coding task to a headless Codex agent. Codex will do the actual implementation work.

Your Task

  1. Identify the task from conversation context
  2. Read CLAUDE.md and inject context directly into the prompt
@SilenNaihin
SilenNaihin / ensemble-opinion.md
Last active January 28, 2026 02:59
Claude Code: Multi-model ensemble opinions (Claude + Gemini + Codex)
description
Get multi-model opinions on a problem (Claude + Gemini + Codex)

You are orchestrating an ensemble of AI models to analyze a problem from multiple angles.

Your Task

  1. Identify the problem from conversation context
  2. Run ALL THREE models in PARALLEL using the Task tool
@SilenNaihin
SilenNaihin / setup-repo.md
Last active February 6, 2026 21:25
Claude Code: Repo Setup command with CLAUDE.md, tooling, and Ralph

Repo Setup

You are setting up this repository for agentic coding with Claude Code.

Step 0: Check Existing Setup & Context

First, check what's already configured in this repo:

ls -la CLAUDE.md .cursorrules 2>/dev/null