agentleFS
brianwestphalbrianwestphal/glassbox/.cursor/rules/hs-feature.mdc

glassbox / rules

Cursor rule34 starsChanged 3 months agoMITView on GitHub

Create a new feature ticket in Hot Sheet

  • Sends data out

The file

We split this hs-feature.mdc into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a new Hot Sheet feature ticket.

    line 7
  2. Very specific:

    If the input starts with "next", "up next", or "do next" (case-insensitive), set up_next to true and use the remaining text as the title

    line 10
  3. Very specific:

    Call the hotsheet_create_ticket tool with { "title": "<TITLE>", "category": "feature", "up_next": <true|false> }.

    line 14
  4. Very specific:

    If the request fails (connection refused or 403), re-read those two files — you may be connecting to the wrong Hot Sheet instance.

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
hs-feature.mdc
---
description: Create a new feature ticket in Hot Sheet
alwaysApply: false
---
<!-- hotsheet-skill-version: 28 -->

Create a new Hot Sheet **feature** ticket. New features to be implemented.

**Parsing the input:**
- If the input starts with "next", "up next", or "do next" (case-insensitive), set `up_next` to `true` and use the remaining text as the title
- Otherwise, use the entire input as the title

**Create the ticket — MCP tool (preferred when the channel is connected):**
Call the `hotsheet_create_ticket` tool with `{ "title": "<TITLE>", "category": "feature", "up_next": <true|false> }`. The tool is schema-validated and routes to the channel server's `--data-dir` so there's no chance of cross-project misrouting.

**Fallback (curl):**
```bash
curl -s -X POST "http://localhost:$HOTSHEET_PORT/api/tickets" \
  -H "Content-Type: application/json" \
  -H "X-Hotsheet-Secret: $HOTSHEET_SECRET" \
  -d '{"title": "<TITLE>", "defaults": {"category": "feature", "up_next": <true|false>}}'
```

Set these first. Both are machine-specific and deliberately not stored in this file (which is committed and shared with everyone on the repo):
```bash
export HOTSHEET_PORT=$(node -p "require('./.hotsheet/settings.local.json').port ?? 4174")
export HOTSHEET_SECRET=$(node -p "require('./.hotsheet/secret.json').secret")
```

If the request fails (connection refused or 403), re-read those two files — you may be connecting to the wrong Hot Sheet instance. (Older projects keep `port` and `secret` in `.hotsheet/settings.json` instead.)

Report the created ticket number and title to the user.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.