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

@skedulo/style-system

v0.1.5

Published

A rules-as-code writing style system for Skedulo

Readme

Skedulo Style System

A unified rules-as-code writing style system for Skedulo. This project enforces style guidelines via a CLI linter, auto-generates documentation, and provides AI-powered rewriting suggestions.

Features

  • CLI Linter: Checks Markdown files against Skedulo's style rules.
  • Documentation Generator: Builds a Markdown style guide from the rule definitions.
  • CI Integration: GitHub Actions to enforce style on Pull Requests.
  • AI Assistant: Uses Gemini to suggest rewrites for style violations.
  • Rule Engine: TypeScript-based rule definitions for easy maintenance.

Installation

Using Devbox (Recommended for Development)

# Enter development environment (installs Node.js + dependencies automatically)
devbox shell

# Or run commands directly
devbox run test

See docs/ for complete documentation including devbox setup, commands, and usage guides.

Using npm

npm install

Usage

CLI Commands

style:lint - Check Markdown files for style violations

When installed as an npm package or oclif plugin, use:

# Standard usage
skedulo style:lint <file.md>

# With JSON output
skedulo style:lint <file.md> --format=json

# Examples
skedulo style:lint README.md
skedulo style:lint docs/user-guide.md --format=json

Arguments:

  • file - Path to markdown file (required)

Flags:

  • --format - Output format: text (default) or json

Output:

  • Text format shows violations with ✅ ℹ️ ⚠️ ❌ indicators
  • JSON format provides structured data for programmatic use

Development Testing

Run the linter during development:

# Using devbox (recommended)
devbox run test                    # Test on README.md
devbox run test:json               # Test with JSON output

# Using ts-node directly
npx ts-node src/commands/style/lint.ts path/to/file.md
npx ts-node src/commands/style/lint.ts path/to/file.md --format=json

# Using npm script
npm run lint path/to/file.md

Generate Documentation

Generate the docs/style-guide.generated.md file from the source rules:

# Using devbox
devbox run docs

# Using npm
npm run generate:style-docs

CI/CD Integration

This repository includes GitHub Actions workflows:

  1. Skeddy Style Bot (.github/workflows/style-pr-bot.yml): 🤖 Automated PR reviewer that posts inline suggestions directly on your PRs with one-click fixes using GitHub's suggestion feature.

Adding to Your Repository

See GitHub Actions Setup Guide for detailed instructions on adding the style linter to your own repository's CI/CD pipeline.

Configuration

To enable the AI features in the Style Bot, you must add the following secret to your GitHub repository:

  • GEMINI_API_KEY: Your Google Gemini API key.

Documentation

Complete documentation is organized in the docs/ directory:

Development

Project Structure

  • src/engine/: Core rule definitions and linter logic
  • src/commands/: CLI command implementations (oclif)
  • src/ai/: AI model interface and Gemini client
  • scripts/: Helper scripts (docs generation, bot script)
  • docs/: Complete project documentation

Adding a New Rule

  1. Open src/engine/rules.ts
  2. Add a new rule object to the rules array
  3. Specify the type (e.g., regex), severity, description, and suggestion
  4. Run npm run generate:style-docs to update the documentation

Building

npm run build

See docs/development/ for detailed development guides.