package-json-scripts
package.json scripts naming. Colons only for parallel/sequential groups
Install / Use
npx skills add FixMyBerlin/rsv-infoInstalls into whichever agent you are using.
Cursor Rules
Cursor IDE rules (v2)
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Skill content
View source on GitHubdescription: package.json scripts naming. Colons only for parallel/sequential groups globs: **/package.json alwaysApply: false
package.json script names
Use : only for step scripts that belong to a group run via bun run --parallel or bun run --sequential with a glob (<group>:*).
Colon groups (<group>:<step>)
- Parent script orchestrates:
bun run --parallel lint:*,bun run --sequential type-check:* - Step names use the group prefix:
type-check:astro,lint:oxlint - Order steps with numeric prefixes when sequence matters
Standalone scripts (no :)
One-off commands run directly. Use kebab-case, no colon:
type-check,lint-check,format-check,check-pre-push
Verify scripts
| Script | Role |
| --- | --- |
| check | Local, before commit. --parallel type-check lint format test-run knip-warn |
| check-ci | Read-only, run by CI. --parallel type-check lint-check format-check test-run |
| check-pre-push | Husky pre-push. Same leaves as check but strict knip |
type-check runs type-check:astro (astro check) and then type-check:tsc with --sequential. Keep TypeScript 6 until astro check supports TypeScript 7.
lint and lint-check each have three steps: oxlint, lint:steckbriefe / lint-check:steckbriefe (pages load Steckbriefe only through getPublishedSteckbriefe()), and lint:map-images / lint-check:map-images (every Trassenscout geometry has a committed public/rsv-map-images/<slug>.png).
Prefer parallel groups over &&
Do not chain verify scripts with && (e.g. check && knip). List leaf scripts in one --parallel orchestrator, or use <group>:* when a step has multiple paths.
Use && only inside a single step when the shell must run multiple commands as one action (e.g. build:netlify, generate-types).
Existing scripts that break the colon rule
These predate the rule and are not run through <group>:*: build:netlify, build:local, generate-types:*, updatePackages:*, export:steckbriefe, trassenscout:*, generate:map-images, bleach:*. Do not add more of this kind. Renaming them changes Netlify config and the Trassenscout sync workflow, so do it in a dedicated change.
Related Skills
career-ops
72.0kOpen-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)
ai-job-search
43.2kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
41.5kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
guizang-ppt-skill
26.5kAI-agent Skill for generating polished HTML slide decks: editorial magazine and Swiss layouts, image prompts, social covers, and a WebGL/low-power presentation runtime.
Security Score
Audited on Invalid Date
