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

@deveonc/spec-to-code

v1.0.0-beta.2

Published

Spec-to-Code workflow bootstrap for OpenCode using agent-based LLM development

Readme

🚀 spec-to-code

✨ A lightweight npm package that bootstraps a Spec-to-Code workflow, from any project folder, whether you're starting a new app or adding features/tests, using LLM agents 🤖 and rules 📜.

Inspired by Mattia D'Argenio’s Spec-to-Code methodology and the bmad-method approach to agent-based development.


🧠 Why spec-to-code?

Building software with LLMs works only if it’s structured.

This project helps you move from a vague idea 💡 to production-ready code 🏗️ by organizing LLM interactions into clear, reproducible steps:

➡️ Specification → Planning → Execution → Review

No prompt spaghetti.
No magic.
Just explicit workflows and clearly defined responsibilities.


⚡ Quick start

In a new project, run once:

npx @deveonc/spec-to-code

Then, in your agent tool:

/Architect

🧭 The Architect agent will automatically guide you through the specification process, one question at a time.


📦 What gets installed

.ai/
├── agents/        🤖 Architect, Planning, Develop, Reviewer agents
└── rules/         📜 Coding & architectural rules

Everything is local, versioned, and auditable.

If a .opencode/ folder exists, the installer generates OpenCode commands + agents from .ai/agents into .opencode/commands and .opencode/agents.

If a .claude/ folder exists, the installer generates Agent Skills from .ai/agents into .claude/skills (compatible with Claude Code).

Installer state is stored in .ai/config.json (version, date, selected integrations, selected rules).

You can regenerate commands, agents, and skills manually:

node bin/scripts/opencode/generate-commands.js --agents .ai/agents --out .opencode/commands
node bin/scripts/opencode/generate-opencode-agents.js --agents .ai/agents --out .opencode/agents
node bin/scripts/claude/generate-skills.js --agents .ai/agents --out .claude/skills

Script layout (by tool):

  • bin/scripts/opencode/ - OpenCode commands + agents
  • bin/scripts/claude/ - Claude Code skills (Agent Skills format)
  • bin/scripts/rules/ - Rules selection and updates
  • bin/lib/ - Shared utilities

During installation, a checklist is shown for OpenCode/Claude Code integration. Existing folders are pre-selected, and you can enable or disable each integration before the files are copied. After that, you choose which rules to install. Finish by running /Architect.

On rerun:

  • If the version changed, .ai is refreshed (config preserved).
  • If the version is the same, no files are copied unless you change integrations or rules.

You can also choose which rules are installed. default.rules.md is always included. To reconfigure later:

node bin/scripts/rules/configure-rules.js --out .ai/rules

🎯 Designed for

  • 🧑‍💻 OpenCode users
  • 🤖 Agent-based LLM workflows
  • 🏗️ Developers who want structure, not vibes
  • 🕰️ Long-lived, maintainable projects
  • 🧠 Compatibility with Claude Code and OpenCode

Works for:

  • creating a brand new application from scratch
  • extending an existing codebase with new features or tests

When you request new features after the initial spec, route them through Planning to add tasks to docs/todo.md before any implementation.


🧩 Philosophy

LLMs are powerful — but only when constrained.

spec-to-code treats prompts as contracts,
agents as roles,
and development as a workflow, not a conversation.

Happy building 🚀