Skip to content

Instantly share code, notes, and snippets.

View SilenNaihin's full-sized avatar

Silen Naihin SilenNaihin

View GitHub Profile
@SilenNaihin
SilenNaihin / notebook-learning.md
Created January 28, 2026 03:01
Claude Code: Notebook Learning command for interactive tutorials

Notebook Learning

Build intuition on a topic through an interactive Jupyter notebook lesson.

Usage: /notebook-learning then specify:

  • Notebook: @{notebook}.ipynb (existing or new)
  • Topic: The concept to teach
  • Source: Either paste an excerpt from a research paper, or a link to docs, or a paper itself, or just mention a topic and the scope you'd like it to cover

Instructions

@SilenNaihin
SilenNaihin / lint-quality.md
Last active February 1, 2026 04:40
Claude Code: Lint Quality command

Lint Quality

Run code quality checks to find duplication and dead code.

Detect Project Type

First, determine if this is a JavaScript/TypeScript or Python project:

ls package.json pyproject.toml setup.py 2>/dev/null
@SilenNaihin
SilenNaihin / integration-stress-test.md
Last active February 4, 2026 06:19
Claude Code: Integration Stress Test command

Integration Stress Test

Build comprehensive integration and edge case tests that intentionally try to break the specified functionality.


FOR BUG FIXES: TEST-FIRST IS MANDATORY

STOP. Before touching ANY implementation code:

@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 1, 2026 04:40
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 January 28, 2026 03:00
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 3, 2026 10:15
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 1, 2026 18:14
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