Claude Code Bolt-On
/ Slash Command Library
Status
Ready
Commands
3
included
Pattern
Memory
files
Framework
Any
stack

Slash Command
Library

Battle-tested slash commands for organized Claude Code development. Memory files that persist context. Features that register themselves. Never lose track of half-built work again.

Copy the setup prompt. Get /new-feature, /new-idea, and /add-seo commands installed. Start building with persistent context across sessions.

Any Framework
Memory Files
CLAUDE.md Registry
Zero Dependencies
Paste into Claude Code. Creates .claude/commands/ folder, installs commands, sets up CLAUDE.md registry.

What Are Slash Commands?

Slash commands are reusable prompts that live in your project. Type /command-name and Claude executes a pre-written workflow.

Instead of re-explaining "create a feature with memory files and register it" every time, you type /new-feature auth and it happens automatically.

File Structure
your-project/
├── .claude/
│   └── commands/
│       ├── new-feature.md
│       ├── new-idea.md
│       └── add-seo.md
├── CLAUDE.md
├── IDEAS.md
└── FEATURE_*.md
Reusable

Write once, use forever. Same workflow every time you need it.

Project-Specific

Lives in your repo. Follows your conventions. Knows your stack.

Shareable

Commit to git. Team members get the same commands automatically.

The Problem These Commands Solve

WITHOUT MEMORY FILES
  • Files scattered across project with no clear ownership
  • Return to feature after a week - forgot what you were doing
  • Re-explain context to Claude every session
  • No record of technical decisions made
  • Features half-built with no status tracking
  • Every feature follows different patterns
WITH MEMORY FILES
  • Each feature has a single source of truth
  • Memory file tells you exactly where you left off
  • Claude reads context from memory file automatically
  • Decisions documented as you make them
  • Status tracked: completed, in progress, blocked
  • Consistent patterns enforced by commands
COMMANDS INCLUDED

What You Get

Three production-tested commands that enforce organized development patterns. More commands coming as we battle-test them internally.

/new-feature

Scaffold a new feature with memory file and CLAUDE.md registration.

Usage
/new-feature user-auth
Creates
  • FEATURE_*.md memory file
  • CLAUDE.md registry entry
  • Optional starter files
/new-idea

Quick capture ideas without breaking flow. Zero friction idea backlog.

Usage
/new-idea dark mode
Creates
  • IDEAS.md backlog file
  • Timestamped entry
  • Optional categories
/add-seo

Add comprehensive SEO to any page. Metadata, JSON-LD, sitemap in one command.

Usage
/add-seo app/page.tsx
Adds
  • Metadata export
  • JSON-LD structured data
  • Sitemap.ts entry

The Memory File Pattern

Each feature gets a FEATURE_*.md file in your project root. This file is the single source of truth for that feature - what it does, what decisions were made, what files implement it, and what's left to do.

Example: FEATURE_USER_AUTHENTICATION.md
# Feature: User Authentication

**Status**: In Progress
**Created**: 2025-12-08
**Memory File**: FEATURE_USER_AUTHENTICATION.md

---

## Overview

Email/password authentication with NextAuth. Magic link
option for passwordless login. Protected routes via
middleware.

---

## Technical Decisions

- [x] Auth provider: NextAuth
- [x] Session storage: JWT (stateless)
- [ ] Protected routes: /admin/*, /dashboard/*

---

## Implementation Files

- app/auth/signin/page.tsx - Sign in page
- app/api/auth/[...nextauth]/route.ts - NextAuth
- lib/auth.ts - Auth utilities
- middleware.ts - Route protection

---

## Current Status

### Completed
- [x] NextAuth setup
- [x] Sign in page

### In Progress
- [ ] Magic link flow

### Blocked
- Waiting on email provider setup

---

## Context for Claude

Using Resend for emails. Need to add
RESEND_API_KEY to .env before magic links work.
Prisma adapter already configured.
Survives Sessions

Come back in a week. Memory file tells you exactly where you left off.

Guides Claude

The "Context for Claude" section primes future sessions with key info.

Tracks Decisions

Technical choices documented as you make them. No more "why did I do this?"

The CLAUDE.md Registry

CLAUDE.md is the central index of all features in your project. When you run /new-feature, it automatically adds an entry here. Claude reads this file to understand your project structure.

Example: CLAUDE.md Feature Registry
## Feature Registry

| Feature | Status | Memory File | Key Files |
|---------|--------|-------------|-----------|
| User Auth | In Progress | FEATURE_USER_AUTH.md | app/auth/*, lib/auth.ts |
| Payments | Live | FEATURE_PAYMENTS.md | app/api/stripe/*, lib/stripe.ts |
| Dashboard | Blocked | FEATURE_DASHBOARD.md | app/dashboard/* |

## Slash Commands Available

| Command | Purpose |
|---------|---------|
| /new-feature [name] | Create feature with memory file |
| /new-idea [idea] | Quick capture ideas to backlog |
| /add-seo | Add metadata, JSON-LD, sitemap |

PRO TIP

When starting a Claude Code session, tell Claude to "read CLAUDE.md first" - it will understand your entire project structure, what features exist, and where to find context for each one.

How to Install

1
Copy the Setup Prompt

Click the button above or copy from the prompt file.

2
Paste into Claude Code

Open your terminal with Claude Code running. Paste the prompt.

3
Claude Creates Everything

Claude will create .claude/commands/, install commands, and set up CLAUDE.md.

4
Start Using Commands

Type /new-feature my-feature to create your first organized feature.

Coming Soon

We're battle-testing more commands internally before adding them to the library. These will be added as they prove reliable in production.

/commit
Testing

Structured git commits with conventional format. Auto-generates message from staged changes.

/review
Planned

Code review checklist workflow. Catches common issues before PR.

/debug
Planned

Structured debugging with hypothesis tracking. Never lose your debugging progress.

Ready to Get
Organized?

Copy the setup prompt. Paste into Claude Code. Start building features that stay organized across sessions.

Creates .claude/commands/ → Installs /new-feature, /new-idea, and /add-seo → Sets up CLAUDE.md registry