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

@aicgen/aicgen

v1.0.5

Published

AI Config Generator - Automated AI assistant configuration for your projects

Downloads

31

Readme


aicgen makes your project AI-ready in seconds. Generate tailored instruction files for your AI coding assistant with an interactive CLI wizard.

✨ Features

  • 🎯 Multi-Assistant Support - Claude Code, GitHub Copilot, Gemini, Antigravity, Codex
  • 📚 82+ Guidelines - Organized into 12 categories (Language, Architecture, Testing, Security, etc.)
  • 🎨 Interactive CLI - Professional wizard with smart defaults and back navigation
  • ⚡ Hooks & Sub-Agents - Auto-generates Claude Code hooks and verification agents
  • 🏗️ Architecture Aware - Supports Microservices, Modular Monoliths, Hexagonal, and more
  • 📦 Zero External Dependencies - All guideline data is embedded in the binary

🚀 Quick Start

Navigate to your project and run:

aicgen init

The CLI will:

  1. Detect your project language and structure
  2. Guide you through assistant, architecture, and detail level selection
  3. Let you customize which guidelines to include
  4. Generate the appropriate config files (.claude/, .github/, .agent/, etc.)

📦 Installation

From npm (Easiest)

# Install globally
npm install -g @aicgen/aicgen

# Or use with npx (no installation)
npx @aicgen/aicgen init

From Homebrew (macOS)

# Add the tap
brew tap aicgen/aicgen

# Install aicgen
brew install aicgen

From Binary (Standalone)

Download the latest installer for your platform from the releases page:

  • Windows: aicgen-setup-x64.exe installer
  • Linux (Debian/Ubuntu): aicgen_amd64.deb
  • Linux (Fedora/RHEL): aicgen_x86_64.rpm
# Windows - run the installer
aicgen-setup-x64.exe

# Linux (Debian/Ubuntu)
sudo dpkg -i aicgen_amd64.deb

# Linux (Fedora/RHEL)
sudo rpm -i aicgen_x86_64.rpm

From Source

git clone https://github.com/aicgen/aicgen.git
cd aicgen
bun install
bun run build:binary
bun run start init

📚 Guideline System

aicgen uses a modular guideline architecture with 82+ guidelines organized into 12 categories.

# View guideline statistics
aicgen stats

Categories:

  • Language - TypeScript, Python, Go, Rust, Java, C#, Ruby, JavaScript
  • Architecture - Layered, Modular Monolith, Microservices, Event-Driven, Hexagonal
  • DevOps - CI/CD, Docker, Observability (Log formats, Metrics)
  • Best Practices - SOLID, DRY, Clean Code principles
  • And more...

📁 Generated Outputs

For Claude Code

CLAUDE.md                      # Master instructions (project root)
.claude/
├── settings.json              # Hooks & permissions
├── guidelines/                # Modular guidelines
│   ├── language.md
│   ├── architecture.md
│   └── ...
└── agents/                    # Sub-agents
    └── guideline-checker.md

For GitHub Copilot

.github/
├── copilot-instructions.md    # Master instructions
└── instructions/              # Topic-specific files

For Gemini / Antigravity

.gemini/                       # or .agent/
└── instructions.md            # Consolidated system prompt

🗺️ Roadmap

✅ Completed

  • [x] Interactive CLI wizard with back navigation
  • [x] Multi-assistant support (Claude Code, Copilot, Gemini, Antigravity, Codex)
  • [x] 82+ guidelines across 12 categories
  • [x] Architecture-aware configuration (Layered, Modular Monolith, Microservices, etc.)
  • [x] Auto-generated hooks and sub-agents for Claude Code
  • [x] Custom guideline management (add/remove)
  • [x] GitHub-based guideline updates

🚧 Future Enhancements

  • [ ] Custom validation hooks
  • [ ] Guideline versioning and diffing
  • [ ] Project-specific guideline templates

🛠️ Development

Running Tests

The project includes a comprehensive test suite with 60+ tests covering all core functionality:

# Run all tests
bun test

# Run tests with coverage report
bun test --coverage

# Run tests in watch mode
bun test --watch

Test Coverage

Current test coverage: 94% (93.44% function coverage, 94.52% line coverage)

Test Suite Includes:

  • ✅ GuidelineLoader tests (filtering, level selection, architecture handling)
  • ✅ Tarball extraction tests (CONFIG-based prefix validation)
  • ✅ AssistantFileWriter tests (all 5 assistants - Claude Code, Copilot, Gemini, Antigravity, Codex)
  • ✅ File generation and path handling (cross-platform compatibility)
  • ✅ Content validation and metadata inclusion

Tests are automatically excluded from builds via tsconfig.json.

Project Structure

src/
├── __tests__/              # Test suite
│   └── services/
│       ├── guideline-loader.test.ts
│       ├── tarball-extraction.test.ts
│       └── assistant-file-writer.test.ts
├── commands/               # CLI commands (init, update, quick-add)
├── services/               # Core business logic
└── config.ts              # Configuration management

🤝 Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

📄 License

MIT © 2025