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

create-ai-workflow

v0.1.4

Published

Scaffold the agent-driven development workflow into a project

Downloads

497

Readme

AI Workflow Scaffold

A language-agnostic scaffold for an agent-driven development workflow. Copy these files into any new project (TypeScript, Python, anything else) and run the same ticket → spec → branch → PR → review → merge loop on every change.

This scaffold has no application code. It ships the workflow rules, the agent skills, the pull-request template, the secret scan, and example artifacts in the exact formats the workflow produces.

Quick start

Run the scaffold inside your project directory:

npx create-ai-workflow

This copies AGENTS.md, CONTEXT.md, the examples/ artifacts, the .github/ workflow and PR template, and skills-lock.json, creates the .plan/ structure, excludes .plan/ from git, and installs the skills for the universal and Claude Code agents.

Usage:

npx create-ai-workflow [target-dir] [options]

Options:

  • [target-dir] — directory to scaffold into. Defaults to the current directory. Example: npx create-ai-workflow ./my-project.
  • --force — overwrite existing files (AGENTS.md, CONTEXT.md, examples/, etc.) if they already exist.
  • --no-skills — skip installing skills with npx skills and do not copy skills-lock.json. Useful if you manage skills manually.
  • --no-git — do not touch .git/info/exclude. .plan/ will not be auto-excluded.
  • --no-examples / --without-examples — do not copy the examples/ folder.
  • --agent <universal|claude|both> — which agent surface to install skills for. Default is both. Also supports --agent=universal.
  • -y / --yes — skip confirmation prompts when installing skills (passed through to npx skills add).

Examples:

npx create-ai-workflow                 # scaffold into current directory
npx create-ai-workflow ./my-project    # scaffold into a new folder
npx create-ai-workflow --force         # overwrite existing scaffold files
npx create-ai-workflow --agent universal --no-examples  # minimal install
npx create-ai-workflow --no-skills --no-git -y          # copy files only

The workflow at a glance

  1. Spec. When an idea or issue needs shaping, /to-spec turns the conversation into a spec under .plan/spec/<branch>/<NN>-<summary>.md where <branch> is the current branch with / replaced by - and <NN> is a zero-padded sequence per branch.
  2. Tickets. /to-tickets breaks the spec into one ticket per file under .plan/tickets/<branch>/<NN>-<summary>/, each declaring what to build and what it is blocked by.
  3. Branch + implementation. Create a branch named after the ticket (for example feat/PF-12-api-contract), implement, and keep the PR focused on one result.
  4. Pull request. Write the PR body under .plan/pull-requests/<branch-with-hyphens>.md following .github/pull_request_template.md. Proof of execution is mandatory.
  5. Review. Reviewer comments go under .plan/review-replies/<branch>/ with one numbered file per review round. Reply in the reserved sections once the resolving ticket is implemented.
  6. Merge. Merge only after checks, review approval and the agreed merge authorization.

Planning artifacts stay local: .plan/ and AGENTS.md are not part of the codebase and are not committed. Everything an agent may read or write inside .plan/ is defined in AGENTS.md; the examples/ folder ships the exact formats.

Skills

The skills the workflow relies on are installed and managed with the Skills CLI (npx skills). They are committed in .agents/skills/ (universal format) and symlinked under .claude/skills/ for Claude Code, so anyone who clones this repo has them. skills-lock.json records each skill's source and pinned version, and npx skills update refreshes them.

| Skill | Purpose | |---|---| | to-spec | Turn the current conversation into a spec | | to-tickets | Break a plan or spec into tickets declaring their blocking edges | | unslop | Remove AI writing patterns from human-facing text | | code-review | Review changes since a fixed point along standards and spec | | codebase-design | Design and deepen module interfaces | | domain-modeling | Build and sharpen a project's domain model | | find-skills | Discover and install additional agent skills | | grill-with-docs | Stress-test a plan while recording ADRs and a glossary | | grilling | Grill the user about a plan, decision, or idea | | implement | Implement a piece of work from a spec or tickets | | improve-codebase-architecture | Scan for deepening opportunities and grill through them | | tdd | Test-driven development |

Managing the skills

Install, update, or add skills from this project's root:

npx skills add <owner/repo@skill>   # add a skill (installs into .agents/skills)
npx skills update                   # refresh installed skills from the lock file
npx skills find <query>             # search the ecosystem

The installed skills come from mattpocock/skills, vercel-labs/skills, and poteto/noodle. skills-lock.json pins what is installed, so a clone gets the same versions and npx skills update bumps them in one go.

Bootstrapping a new project

The scaffold itself is a template you run with create-ai-workflow. To set up a project without the CLI, copy the files manually:

  1. Copy the scaffold into the new project directory (or use it as a GitHub template).

  2. Keep AGENTS.md and create the local planning structure:

    mkdir -p .plan/tickets .plan/spec .plan/pull-requests .plan/review-replies .plan/incoming-prs .plan/outgoing-reviews .plan/blog
  3. If you keep AGENTS.md and .plan/ out of git, exclude them from version control (for example in .git/info/exclude). Do not commit planning artifacts as product code. The examples/ folder shows the exact formats these artifacts use.

  4. Add your CI workflow(s) under .github/workflows/. The secret-scan workflow is included and runs gitleaks on pushes and pull requests.

  5. Write the team conventions (branch naming, who merges, definition of done) where your team reads them. AGENTS.md already pins the agent-side workflow.

  6. Start with /to-spec, then /to-tickets, then pick a ticket and create your branch.

Skills ship with the repo. If you only copied the workflow files, not the skill folders, run npx skills add for each skill in the Skills section. skills-lock.json lists the exact sources. The create-ai-workflow CLI does all of this for you.

Structure

package.json               npm package: npx create-ai-workflow
bin/
  create-ai-workflow.mjs   CLI that scaffolds the workflow into a project
AGENTS.md                  Agent workflow rules (tickets, specs, PR bodies, review replies)
CONTEXT.md                 Domain glossary template (local-only, maintained by domain-modeling)
.github/
  pull_request_template.md Pull request body format
  workflows/
    secret-scan.yml        Gitleaks secret scan
.agents/skills/            Skills, universal format, managed via npx (12)
.claude/skills/            Symlinks to .agents/skills for Claude Code
skills-lock.json           Pinned skill sources and versions
examples/                  Example artifacts showing the exact formats
  tickets/                 One ticket per file
  spec/                    Spec format
  pull-requests/           PR body format
  review-replies/          Review iteration format
  blog/                    Blog draft template and sample
.plan/                     Local-only planning artifacts (not committed)
  tickets/
  spec/
  pull-requests/
  review-replies/
  incoming-prs/
  outgoing-reviews/
  blog/

Contributing to this scaffold

If the workflow changes, update AGENTS.md, the PR template and the example artifacts together, then refresh the skills with npx skills update. Apply the unslop skill to any human-facing text.