npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ansarullahanas/cc-guide

v1.0.1

Published

Claude Code skills and guides for autonomous AI-assisted development

Downloads

22

Readme

Claude Code Guide

Skills and guides for autonomous AI-assisted development with Claude Code and Ralph loops.

What This Is

Three skills you can add to any project:

  • prd - Create PRDs that Claude can execute autonomously
  • setup-claude - Initialize or audit repositories for optimal Claude Code usage
  • agent-browser - Headless browser automation and E2E testing

Plus guides on how I actually use Claude Code.

Quick Start

Add Skills to Your Project

# Add the PRD skill
npx cc-guide add-skill prd

# Add the setup/audit skill
npx cc-guide add-skill setup-claude

# Add the browser automation skill
npx cc-guide add-skill agent-browser

# Or add all skills
npx cc-guide add-skill --all

This copies the skills to your project's .claude/skills/ folder.

Use the Skills

In Claude Code:

/prd                    # Create a PRD for a new feature
/setup-claude init      # Set up a new repository
/setup-claude audit     # Audit an existing repository

The Idea

Traditional: You code, AI helps, you iterate forever.

This way: You define the work, AI executes, you review.

Traditional:          Ralph Loop:
Human → AI → Human    Human → PRD → AI Loop → Human Review
     ↑      ↓              ↓           ↓
     └──────┘          (autonomous)  (complete)

The quality of your PRD determines the quality of your output.

What You Need

| Tool | Install | Why | |------|---------|-----| | Claude Code | claude.ai/claude-code | Core CLI | | GitHub CLI | brew install gh | Git operations | | tmux | brew install tmux | Persistent sessions | | Ralph TUI | npm install -g ralph-tui | Task orchestration | | Agent Browser | npm install -g agent-browser | Browser automation |

Guides

Skills

PRD Skill (/prd)

Creates self-verifying PRDs through an interview process:

  1. Identifies what type of task you're doing
  2. Extracts everything you know via brain dump
  3. Asks clarifying questions
  4. Confirms understanding
  5. Generates PRD.md and prd.json

The output is a PRD that Ralph TUI can execute autonomously.

Agent Browser Skill (/agent-browser)

Headless browser automation for AI agents:

  • Navigate, click, fill forms
  • Take screenshots and snapshots
  • E2E testing workflows
  • Web scraping

Essential for any task involving UI verification.

Setup Claude Skill (/setup-claude)

Two modes:

Init - For new repositories (13 phases):

  • Environment & tools check (including tmux)
  • CLI discovery & authentication
  • MCP configuration (context-window aware)
  • Skills, subagents, rules, hooks setup
  • CLAUDE.md generation
  • Ralph TUI configuration

Audit - For existing repositories (8 phases):

  • Environment analysis
  • CLI and context window audit
  • Gap analysis
  • Recommendations with interactive fixes

Repository Structure

cc-guide/
├── skills/
│   ├── prd/                  # PRD creation skill
│   │   ├── SKILL.md          # Entry point
│   │   ├── AGENTS.md         # Comprehensive reference
│   │   ├── interview/        # Interview process guides
│   │   └── categories/       # Task-type specific guidance
│   │
│   ├── setup-claude/         # Setup/audit skill
│   │   ├── SKILL.md          # Entry point
│   │   ├── workflows/        # Init & audit workflows
│   │   ├── components/       # Detailed component guides
│   │   ├── reference/        # Reference material
│   │   └── templates/        # Config templates
│   │
│   └── agent-browser/        # Browser automation skill
│       └── SKILL.md          # CLI reference
│
├── guides/
│   ├── my-claude-workflow.md
│   ├── ralph-loops-explained.md
│   └── best-practices.md
│
├── templates/
│   └── prompt.hbs            # Ralph TUI prompt template
│
└── bin/
    └── add-skill.js          # npx cc-guide add-skill

Key Concepts

CLI First, MCP Last

CLIs don't consume context window. MCPs do.

Before enabling any MCP:

  • Check if a CLI exists (gh, vercel, supabase, stripe)
  • Install and authenticate the CLI
  • Only use MCP when there's no CLI alternative

tmux for Persistence

Ralph loops run for hours. tmux means:

  • Sessions persist through SSH disconnects
  • You can detach and come back later
  • Multiple loops can run in parallel

Worktrees for Parallelism

Can't run two Ralph loops on the same codebase. Git worktrees fix this:

git worktree add ../project-feature-a feature-a

Each worktree can run its own tmux session with its own Ralph loop.

License

MIT - See LICENSE


The goal isn't to remove humans from development. It's to elevate humans from typists to architects.