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

wake-skills

v0.1.2

Published

Agent skills and rules for Wake Storefront SSR projects.

Readme

Wake Skills

Collection of Agent Skills and Rules for Wake Storefront SSR projects.

This repository is meant to be consumed by installers/CLIs via NPX and by IDEs or agents that load skill/rule directories. Each skill directory contains a SKILL.md with actionable instructions and, when needed, a reference.md with supporting details.

Instalação via NPX (CLI)

Este pacote publica um comando wake-skills para instalar/copiar as skills e rules para um projeto.

Instalar no padrão .agents (default)

npx wake-skills install

Isso copia:

  • wake-*/ -> .agents/skills/wake-*/
  • rules/*.mdc -> .agents/rules/*.mdc

Instalar para Cursor (preset)

npx wake-skills install --target cursor

.gitignore (padrão: ligado) para ignorar pastas geradas

Por padrão, o install cria/atualiza um .gitignore para você não versionar as skills/rules copiadas para o seu projeto. O comando vai criar (ou complementar) um .gitignore no diretório onde você rodou o comando (o --dest, por padrão a pasta atual), com entradas para ignorar a pasta instalada (ex.: .agents/ ou .cursor/).

npx wake-skills install

Se quiser desabilitar:

npx wake-skills install --no-gitignore

Customizar destino e paths

npx wake-skills install --target custom --dest . --skills-dir .agents/skills --rules-dir .cursor/rules

Verificar configuração (sem escrever)

npx wake-skills doctor --target cursor
npx wake-skills install --dry-run

Catalog

  • wake-queries: create and wire GraphQL queries in Queries/.
  • wake-components: create and register components in Components/ and Configs/components.json.
  • wake-snippets: dynamic post-render HTML using Snippets/, /snippet, and client.snippet.render.
  • wake-blocks: CMS-editable blocks using Blocks/<type>.html and Blocks/<type>.schema.json.
  • wake-store-builtins: use built-in variables injected into the store object inside Scriban templates.
  • wake-performance: Page Speed optimization, images, responsive banners, scripts, and “hotsite-style” search.
  • rules/wake-graphql-mcp.mdc: cross-cutting rule to validate real Wake Commerce data via MCP before generating code.
  • rules/wake-scriban.mdc: cross-cutting rule to write HTML templates with Scriban and access injected objects in underscore_case.

Expected Structure

wake-skills/
  README.md
  rules/
    wake-graphql-mcp.mdc
    wake-scriban.mdc
  wake-queries/
    SKILL.md
    reference.md
  wake-components/
    SKILL.md
    reference.md
  wake-snippets/
    SKILL.md
    reference.md
  wake-blocks/
    SKILL.md
    reference.md
  wake-store-builtins/
    SKILL.md
    reference.md
  wake-performance/
    SKILL.md
    reference.md

Skill Contract

Each SKILL.md must include:

  • Frontmatter with name and description.
  • Third-person description: what the skill does and when it should be used.
  • A When to use section with clear triggers for the agent.
  • An Expected outcome section with verifiable deliverables.
  • An ordered execution flow that avoids assumptions.
  • A final validation checklist.
  • A direct link to reference.md when supporting material exists.

Real Data Rule

Whenever a task involves dynamic Wake Commerce data, the agent must use wake-graphql-mcp before writing any query, template, or consumer code.

The MCP is the source of truth for:

  • field names;
  • arguments;
  • types;
  • nullability;
  • object/list structure;
  • the real JSON response shape used via data.

How an Agent Should Work

  1. Detect which skill applies based on the user request and the files being touched.
  2. Read the relevant SKILL.md before editing.
  3. Read reference.md only when additional detail is needed.
  4. Apply rules/wake-graphql-mcp.mdc when Wake Commerce data is involved.
  5. Make small, coherent changes aligned with Wake’s structure.
  6. Validate against the skill checklist before finishing.

When to Create a New Skill

Create a new skill when a Wake domain has its own contract, its own files, or its own workflow. Don’t mix unrelated topics that lead to different decisions.

Good candidates:

  • global theme/layout;
  • checkout;
  • menus and navigation;
  • analytics/events;
  • external integrations;
  • deployment/build.

Avoid creating a new skill for a small variation that fits as a section or example inside an existing skill.

Writing Style

  • Write in clear, direct English.
  • Use relative paths with /.
  • Prefer verifiable steps over long explanations.
  • Say what the agent must do, in which order, and how to validate.
  • Don’t rely on implicit knowledge when the Wake contract requires a specific file, folder, or field.