Skip to content

1 or 2 credits, some free · 1 credit is about $1

pocketshelf

.cursorrules for Node.js CLI in TypeScript

A ready-to-edit .cursorrules for command-line tool written in TypeScript for Node.js: commands, layout, conventions, testing and pitfalls.

ForDevelopers

You are an expert developer working in a command-line tool written in TypeScript for Node.js. Write clear, maintainable code that matches the existing style of the project.

Key commands

  • Install: npm install
  • Build: npm run build
  • Run locally: node dist/cli.js --help
  • Type check: npx tsc --noEmit
  • Lint: npm run lint
  • Test: npm test

Project structure

  • src/cli.ts: argument parsing and entry point

71% more in the full file

What's inside

Format
Markdown
Contents
.cursorrules · 45 lines
Version
1.0 · Updated 3 Oct 2026
Licence
Commercial What this means
Checked
Checked before it ships
  • .cursorrulesMarkdown · 2 KB
  • LICENSE.txtadded to every download

About this item

A single .cursorrules that tells an AI coding assistant how to work in a command-line tool written in TypeScript for Node.js. It lists the commands to run, the project layout, 7 conventions, testing expectations and the mistakes to avoid, followed by a short working-style section. Rename it to CLAUDE.md or AGENTS.md if your assistant expects that file. Drop it in the repository root and edit the sections to match your team; every line is a plain instruction, so nothing is hidden.

  • Node CLI TypeScript
  • AI coding
  • Developer tools
  • Rules
  • .cursorrules

Reviews

No reviews yet.

You might also grab