Index of every page on this site: llms.txt
All skills
Run it yourself

This skill should be used every time you work on pnpm workspace structure, dependency management, or runtime command execution in this repository.

  • 1 file
  • 3 KB
  • Updated 9 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/alpha-innovation-labs/opennexus-rs/pnpm

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈38 tokens for metadata: the name and description. ≈729 when used: this file.

Description uses 1.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈153 characters, or 1.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

pnpm Workspace Rules (Hardlink + Bun Runtime)

This file defines the required pnpm workspace conventions for this repo.

Core Principles

  1. Use pnpm as the only dependency manager and lockfile authority.
  2. Use Bun for all runtime script execution (bun --cwd <package-dir> run <script>).
  3. Keep workspace code inside src/ for every app and package.
  4. Treat apps/ as runnable runtime projects.
  5. Treat packages/ as reusable libraries with non-runnable code.
  6. All installed dependencies in node_modules must come from pnpm links/hardlinks, never copied vendor trees.

Workspace Layout

src/
  apps/
    <app-name>/
      src/
      package.json
  packages/
    <pkg-name>/
      src/
      package.json
pnpm-workspace.yaml
.npmrc
pnpm-lock.yaml

Folder Semantics

  • src/apps/*: runtime entrypoints and deployable applications.
  • src/packages/*: shared libraries, utilities, SDKs, design systems, and other non-runnable modules.
  • src/: required location for implementation code in both apps and packages.

Runtime Policy (Bun Mandatory)

  1. Execute scripts with Bun from the target workspace package.
  2. Standard form: bun --cwd <package-dir> run <script>.
  3. Do not use node, npm, or pnpm run as the runtime execution interface.
  4. Keep pnpm focused on install/add/remove/update and workspace dependency graph operations.

Dependency Storage Policy (Hardlink Mandatory)

  1. package-import-method=hardlink is required.
  2. node-linker=isolated is required.
  3. symlink=true is required.
  4. Do not use hoisted layouts or copied node_modules trees.
  5. Do not introduce tooling that vendors full dependency sources into workspace packages.

Required .npmrc baseline:

package-import-method=hardlink
node-linker=isolated
symlink=true

Apps vs Packages Rules

  1. src/apps/* may define runnable scripts such as dev, start, or platform runtime commands.
  2. src/packages/* must not be treated as deployable runtime apps.
  3. Library packages should expose buildable/importable artifacts and typed APIs.
  4. If a package needs executable tooling, keep it explicit and separate from app runtime concerns.

Frontend Package Visualization (Storybook)

  1. Any frontend/UI library under src/packages/* must provide Storybook coverage for visual components.
  2. Stories should live with source (for example src/**/*.stories.tsx) or another clearly documented package-local convention.
  3. Storybook development and build commands must be executed with Bun runtime commands.

Validation Checklist

  1. pnpm-workspace.yaml includes intended src/apps/* and src/packages/* workspaces.
  2. Each workspace package has a src/ folder.
  3. .npmrc enforces hardlink + isolated linker + symlink settings.
  4. Runtime commands are invoked via Bun command form.
  5. UI libraries in src/packages/* include Storybook stories for visual review.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 8347f22. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Dormantupdated 9 months ago
compatibility
opencode

README badge

README badge for alpha-innovation-labs/opennexus-rs/pnpm