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

opencode-sample-validator

v0.5.0

Published

AWS sample validation workflow plugin for OpenCode

Downloads

762

Readme

opencode-sample-validator

AWS sample validation workflow plugin for OpenCode. Runs a comprehensive 9-phase validation pipeline on AWS sample projects — from deep exploration through deployment, security scanning, and final reporting.

Install

One command sets everything up:

bunx opencode-sample-validator setup --project

This does two things:

  1. Adds opencode-sample-validator to your opencode.json plugin array (OpenCode auto-installs npm plugins at startup)
  2. Copies command files to .opencode/commands/ for slash command access

Restart OpenCode after running setup.

Global install

To install globally (available in all projects):

bunx opencode-sample-validator setup

Commands

| Command | Description | |---------|-------------| | /validation-start [path] | Start the validation workflow on a sample project | | /validation-status | Check current phase and progress | | /validation-stop | Stop after the current phase finishes | | /validation-resume [path] | Resume a stopped workflow |

Validation Phases

The orchestrator runs automatically after /validation-start. Each phase creates a child session with fresh context:

  1. Deep Exploration - Systematic 5-phase codebase analysis
  2. Suitability Check - Gate validation (APPROVE/REJECT)
  3. Deployment Plan - Generate plan from README and exploration
  4. Plan Validation - Validate plan against rules, fix violations
  5. Execution - Step-by-step deployment with retries
  6. Validation Report - Compile deployment results
  7. Security Scan - Vulnerability scanning
  8. Code Quality - Best practices assessment
  9. Final Report - Comprehensive report aggregation

How It Works

The plugin registers tools (start_validation, validation_status, etc.) and hooks that drive the workflow. When you call /validation-start:

  1. Creates .validation/sessions/<id>/reports/ with a state.json
  2. Spawns a child session for Phase 1
  3. Uses session.idle events to detect phase completion
  4. Automatically advances through all phases
  5. Handles the execute phase's step loop with retries

Reports are generated in .validation/sessions/<id>/reports/:

  • executive-summary.md - Quick overview
  • final-report.md - Comprehensive details
  • summary.json - Structured data

Plugin Architecture

| Mechanism | How it works | |-----------|-------------| | Tools | Registered in src/index.ts, loaded via opencode.json plugin array | | Skills | SKILL.md files auto-discovered from the npm package | | Commands | Copied to .opencode/commands/ by the setup script | | Hooks | File write detection and session.idle event handling |

Development

bun install
bun run build
bun test

License

MIT