Skip to content
Prompt

state-machine-cat — Copilot Instructions

by sverweij

AI Summary

These 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

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 5d ago
Active
Adoption100+ stars on GitHub
860 ★ · Growing
DocsMissing or thin
Undocumented

GitHub Signals

Stars860
Forks47
Issues5
Updated5d ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more