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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@vibeatlas/ship-protocol

v1.0.0

Published

SHIP Protocol - Success Heuristics for Intelligent Programming. The industry standard for AI coding agent reliability.

Readme

SHIP Protocol

Success Heuristics for Intelligent Programming

SHIP Score npm version License: MIT


The Problem

70% of AI coding tasks fail. Current tools focus on tokens and cost, not outcomes.

  • Trust in AI-generated code dropped from 43% to 33%
  • 30.5% of AI suggestions contain errors
  • 66% of developers frustrated by "almost right" code
  • No universal metric for AI coding reliability

The Solution

SHIP Protocol provides a universal reliability score for AI-assisted development.

SHIP Score = (Confidence × 0.40) + (Focus × 0.30) + (Context × 0.20) + (Efficiency × 0.10)

One number (0-100) that tells you: Will this AI task succeed?


Quick Start

Installation

npm install @vibeatlas/ship-protocol

Basic Usage

import {
  createShipRequest,
  calculateShipScore,
  interpretShipScore,
  getShieldsIoBadgeUrl
} from '@vibeatlas/ship-protocol';

// Create a SHIP request
const request = createShipRequest({
  files: [
    {
      path: 'src/main.ts',
      content: '// your code here',
      language: 'typescript',
      size_bytes: 1024
    }
  ],
  prompt: 'Add error handling to the API endpoints'
});

// Calculate SHIP Score
const score = calculateShipScore(
  92,  // confidence
  88,  // focus
  85,  // context
  75   // efficiency
);

console.log(`SHIP Score: ${score.score} (${score.grade})`);
// Output: SHIP Score: 89 (A)

// Get interpretation
const interpretation = interpretShipScore(score.score);
console.log(interpretation.summary);
// Output: High reliability - Production ready

// Generate badge URL
const badgeUrl = getShieldsIoBadgeUrl(score.score, 'for-the-badge');

SHIP Score Explained

The Four Layers

| Layer | Weight | What It Measures | |-------|--------|------------------| | Confidence | 40% | Will the task succeed? Risk factors, historical patterns | | Focus | 30% | Is attention on the right code? Relevance, distraction filtering | | Context | 20% | Does the AI have what it needs? Coverage, completeness | | Efficiency | 10% | Resource usage - tokens, cost, CO2 |

Grade Scale

| Grade | Score | Meaning | |-------|-------|---------| | A+ | 95-100 | Exceptional - Ship with confidence | | A | 85-94 | High reliability - Production ready | | B | 70-84 | Good - Acceptable for most tasks | | C | 50-69 | Moderate - May require iteration | | D | 30-49 | Low - High risk of failure | | F | 0-29 | Unreliable - Do not proceed |


API Reference

Message Types

import type {
  IShipRequest,    // Request for assessment
  IShipResponse,   // Assessment result
  IShipFeedback,   // Outcome feedback
  IShipError,      // Error response
  IShipScore,      // Score breakdown
} from '@vibeatlas/ship-protocol';

Message Creators

import {
  createShipRequest,
  createShipResponse,
  createShipFeedback,
  createShipError,
} from '@vibeatlas/ship-protocol';

Type Guards

import {
  isShipRequest,
  isShipResponse,
  isShipFeedback,
  isShipError,
} from '@vibeatlas/ship-protocol';

Score Utilities

import {
  calculateShipScore,   // Calculate from layer scores
  getShipGrade,         // Get grade from score
  interpretShipScore,   // Human-readable interpretation
  quickShipScore,       // Quick calculation from params
} from '@vibeatlas/ship-protocol';

Badge Generation

import {
  generateBadgeUrl,
  generateBadgeMarkdown,
  getShipScoreBadgeUrl,
  getShieldsIoBadgeUrl,
} from '@vibeatlas/ship-protocol';

CLI Tool

# Install globally
npm install -g @vibeatlas/ship-cli

# Get SHIP Score
ship score

# Detailed report
ship report --format markdown

# CI check with threshold
ship check --min-score 70

GitHub Action

name: SHIP Score
on: [push, pull_request]

jobs:
  ship:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: vibeatlas/ship-action@v1
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          min-score: 70
          comment-on-pr: true

Certification

Projects maintaining high SHIP Scores can earn certification:

| Level | Requirement | Badge | |-------|-------------|-------| | Bronze | Score 70+ for 7 days | Bronze | | Silver | Score 80+ for 14 days | Silver | | Gold | Score 90+ for 30 days | Gold | | Platinum | Score 95+ for 60 days | Platinum |


Integration with AI Tools

SHIP Protocol works with all major AI coding tools:

  • GitHub Copilot - Context optimization for inline completions
  • Claude (Desktop & API) - MCP integration for context management
  • Cursor - IDE-integrated reliability scoring
  • ChatGPT - Context optimization for code tasks
  • Any AI Tool - Universal protocol adoption

Specification

Full protocol specification: SHIP-v1.0-spec.md


Why "SHIP"?

  • Success - Primary focus on task completion
  • Heuristics - Data-driven predictions
  • Intelligent - AI-aware optimization
  • Programming - Built for developers

Also: "Ship it!" - The developer mantra for confident deployment.


Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.


License

MIT License - see LICENSE for details.


Links


Built with by VibeAtlas