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

@nextsparkjs/ai-workflow

v0.1.0-beta.129

Published

AI workflow templates for NextSpark - Claude Code agents, commands, skills, and multi-editor support

Readme

@nextsparkjs/ai-workflow

AI workflow templates for NextSpark applications. Provides agents, commands, skills, and configuration for AI-assisted development with multiple editor support.

Supported Editors

| Editor | Status | Directory | |--------|--------|-----------| | Claude Code | Active | claude/ | | Cursor | Planned | cursor/ | | Antigravity | Planned | antigravity/ |

Setup

Via CLI (recommended)

nextspark setup:ai

Manual

node node_modules/@nextsparkjs/ai-workflow/scripts/setup.mjs [editor]

Editor options: claude (default), cursor (coming soon), antigravity (coming soon), all

During project init

The nextspark init wizard includes an optional AI workflow setup step at the end.

What Gets Copied

When you run setup, files are copied individually to your project. User-created files are never deleted.

Overwritten (framework-managed)

| Directory | Description | |-----------|-------------| | agents/*.md | Agent definitions (22+ agents) | | commands/**/*.md | Slash commands and how-to guides | | skills/**/* | Skill definitions | | templates/**/* | Session file templates | | workflows/**/* | Workflow definitions | | _docs/**/* | Internal documentation | | config/*.schema.json | JSON schemas (always updated) |

Preserved (user-owned)

| Path | Description | |------|-------------| | config/context.json | Project context config | | config/workspace.json | Workspace preferences | | config/team.json | Team member config | | config/github.json | GitHub workflow config | | sessions/ | Session data (never touched) | | Custom files in any directory | Your files are never deleted |

Structure

claude/
├── agents/       # Agent definitions (26+ agents)
├── commands/     # Slash commands and how-to guides
├── config/       # Configuration files + schemas
├── skills/       # Skill definitions
├── templates/    # Session file templates
├── workflows/    # Workflow definitions
├── _docs/        # Internal documentation
└── sessions/     # Created on setup (empty)

Auto-Sync on Update

When you run pnpm update in a consumer project, this package automatically syncs your .claude/ directory via postinstall. Framework-managed files are updated while your custom files and configs are preserved.

Requirements for auto-sync:

  • .claude/ must already exist (run nextspark setup:ai first)
  • pnpm.onlyBuiltDependencies must include @nextsparkjs/ai-workflow in your root package.json

You can also trigger a manual sync at any time:

nextspark sync:ai

Troubleshooting

Set NEXTSPARK_DEBUG=1 to enable verbose logging in the postinstall script:

NEXTSPARK_DEBUG=1 pnpm update @nextsparkjs/ai-workflow

This prints detection steps (project root, monorepo check, .claude/ location) to help diagnose sync issues.

For Monorepo Contributors

The packages/ai-workflow/claude/ directory is intentionally gitignored (except config JSONs). The source of truth is the repo's .claude/ working directory. Content is synced into the package at two points:

  1. pnpm pkg:packpack.sh runs sync.mjs automatically before creating the tarball
  2. prepack scriptpackage.json runs sync.mjs as a safety net before any npm pack

This means the published npm package always contains all agents, commands, skills, etc. — even though git does not track them in packages/ai-workflow/claude/.

To sync manually (e.g. for local testing):

node packages/ai-workflow/scripts/sync.mjs

Versioning

This package versions independently from @nextsparkjs/core. Agent, command, and skill updates ship here without requiring a core release.