AI SummaryThese instructions guide GitHub Copilot on how to generate and modify code for the project. State Machine Cat is a tool for visualizing state charts. It parses state machine descriptions and renders them as diagrams. Tests must be created for all new functionality using Mocha and Node's assert modu
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "state-machine-cat — Copilot Instructions" prompt rules to my project. Repository: https://github.com/sverweij/state-machine-cat Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
write beautiful state charts :scream_cat:
Workflow for Adding Features
• Add tests first in the appropriate test file • Implement the feature in the source files • Run tests with npm test to verify functionality • Update any relevant documentation
Import Examples
`typescript // Import from Node.js built-ins - use node: protocol import { deepEqual } from "node:assert/strict"; // Import internal modules - use #* pattern import parser from "#parse/index.mjs"; // Import types import type { IStateMachine } from "#types/state-machine-cat.mjs"; `
GitHub Copilot Instructions for state-machine-cat
These instructions guide GitHub Copilot on how to generate and modify code for the state-machine-cat project.
Core Concepts
State Machine Cat is a tool for visualizing state charts. It parses state machine descriptions and renders them as diagrams.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts