Skip to content

Instantly share code, notes, and snippets.

View SilenNaihin's full-sized avatar

Silen Naihin SilenNaihin

View GitHub Profile
@SilenNaihin
SilenNaihin / transfer-context.md
Created January 13, 2026 22:45
Claude Code: Transfer Context command for new chat sessions

Transfer Context

Prepare context for a new chat session when this one is degraded or hitting limits.

Output Format

## Context Transfer

### Summary
@SilenNaihin
SilenNaihin / debug.md
Last active February 16, 2026 21:53
Claude Code: Debug command for systematic debugging

Debug

You are stuck on a thorny issue. Take your time. Be comprehensive—thoroughness beats speed here.

Your Approach

  1. Create hypotheses - List all possible causes for what's wrong. Don't jump to conclusions.
  2. Read all related code - Read ALL code that could be related. Take your time. Don't skim.
  3. Add strategic logging - Add console.log statements to verify your assumptions about what's actually happening.
  4. Ultrathink - Think step by step through the problem. Consider edge cases.
@SilenNaihin
SilenNaihin / setup-repo.md
Last active March 14, 2026 17:19
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
@SilenNaihin
SilenNaihin / ensemble-opinion.md
Last active April 25, 2026 10:05
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 / 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 / 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 / setup-claude-code.md
Last active March 14, 2026 17:19
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 / commit-smart.md
Last active February 8, 2026 14:22
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 / 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 / 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.