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

conflows

v0.0.8

Published

Centralized IDE workflow manager - Context + Workflow

Readme

Conflows

NPM Version Test License

Context + Workflows - A centralized IDE workflow manager.

Conflows helps you manage and distribute AI-powered commands and rules across multiple IDEs (Cursor, Windsurf, VSCode) from a single source of truth.

Core Features

  • Centralized Management: All commands and rules stored in ~/.conflows/
  • Zero Pollution: No config files cluttering your project directories
  • IDE Agnostic: Seamless conversion between IDE formats via adapters
  • Multi-Type Support: Sync both commands (workflows) and rules
  • Simple Distribution: One command to sync to your projects

Quick Start

1. Initialize Central Directory

conflows init

This creates the ~/.conflows/ directory structure:

  • commands/ - Store your command files here (.mdc format)
  • rules/ - Store your rule files here (.mdc format)

2. Create Commands and Rules

Create .mdc files in ~/.conflows/commands/ and ~/.conflows/rules/:

Command Example (~/.conflows/commands/code-review.mdc):

---
description: "AI code review assistant"

vscode:
  mode: agent
  tools: ["edit", "search"]

windsurf:
  auto_execution_mode: 3
---

# Code Review

Review the code changes carefully...

Rule Example (~/.conflows/rules/typescript-style.mdc):

---
description: "TypeScript coding guidelines"

cursor:
  alwaysApply: true

windsurf:
  mode: always

vscode:
  applyTo: "**/*.{ts,tsx}"
---

Use TypeScript for all new files.
Prefer const over let.

3. Distribute to Projects

# Navigate to your project directory
cd ~/my-project

# Sync everything (commands + rules)
conflows sync

# Sync only commands
conflows sync --type commands

# Sync only rules
conflows sync --type rules

# Preview before syncing
conflows sync --dry-run

# Sync to specific IDEs
conflows sync --ides cursor,vscode

Commands

init - Initialize Central Directory

conflows init

Creates the central directory at ~/.conflows/.

sync - Distribute Commands and Rules

conflows sync [options]

Options:

  • --type <type> - Sync type: commands, rules, or all (default: all)
  • --ides <ides> - Specify target IDEs (comma-separated, default: cursor,windsurf,vscode)
  • --include <files> - Additional files to include (comma-separated)
  • --exclude <files> - Files to exclude (comma-separated)
  • --dry-run - Preview without writing

Examples:

# Sync everything to all IDEs
conflows sync

# Sync only commands
conflows sync --type commands

# Sync only rules
conflows sync --type rules

# Preview sync
conflows sync --dry-run

# Sync to specific IDEs
conflows sync --ides cursor,vscode

# Exclude specific files
conflows sync --exclude old-file.mdc

list - List All Commands and Rules

conflows list

Shows all commands and rules in the central directory with their sizes and modification dates.

Usage Step

Step 1: First-Time Setup

# 1. Initialize
conflows init

# 2. Create commands and rules
cd ~/.conflows/commands
vim code-review.mdc
vim refactor-helper.mdc

cd ~/.conflows/rules
vim typescript-style.mdc

# 3. Navigate to your project
cd ~/my-project

# 4. Sync everything
conflows sync

Step 2: Update Workflows

# 1. Edit a command or rule
vim ~/.conflows/commands/code-review.mdc
vim ~/.conflows/rules/typescript-style.mdc

# 2. Sync to all your projects
cd ~/project-a && conflows sync
cd ~/project-b && conflows sync

Step 3: New Project Setup

# Quick setup for a new project
cd ~/new-project
conflows sync

How It Works

Conflows uses an intermediate representation (IR) to convert between different IDE formats:

Central Storage (.mdc) → Parse → IR → Serialize → Target IDE Format

Central Storage Format: Independent .mdc format (not tied to any specific IDE)

  • YAML frontmatter with namespace-based IDE configurations
  • Serves as the single source of truth
  • Future-proof: Changes to IDE formats won't affect central storage

File Format

Central storage uses .mdc (Markdown with Context) format:

  • YAML frontmatter for IDE-specific configurations
  • Markdown content for the actual command/rule
  • Namespace-based config (cursor, windsurf, vscode)

Supported IDEs

| IDE | Commands | Rules | |-----|----------|-------| | Cursor | .cursor/commands/*.md | .cursor/rules/*.mdc | | Windsurf | .windsurf/workflows/*.md | .windsurf/rules/*.md | | VSCode | .github/prompts/*.prompt.md | .github/instructions/*.instructions.md |

Configuration Examples

Command Config:

---
description: "Command description"

cursor:
  # Cursor commands don't need special config

windsurf:
  auto_execution_mode: 3  # 1=safe, 3=turbo

vscode:
  mode: agent  # agent | ask | edit
  model: "GPT-4.1"
  tools: ["edit", "search"]
---

Rule Config:

---
description: "Rule description"

cursor:
  alwaysApply: true
  patterns: ["**/*.ts"]

windsurf:
  mode: always  # always | auto | specific | disabled
  patterns: ["**/*.ts"]

vscode:
  applyTo: "**/*.ts"  # glob pattern
---

Documentation

IDE IntelliSense

Get auto-completion and type checking for .mdc files by adding this line to the top:

# yaml-language-server: $schema=https://raw.githubusercontent.com/PatrickSR/Conflows/main/schema/conflows-mdc.schema.json

See IDE Setup Guide for details.

Development

# Install dependencies
bun install

# Development mode
bun run dev

# Build
bun run build

# Test
bun test

License

MIT