agentleFS
korchasakorchasa/speelka-agent/.cursor/rules/workflow.mdc

speelka-agent / rules

Cursor rule4 starsChanged 19 months agoMITView on GitHub

The file

We split this workflow.mdc into the rules it gives an agent

8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    ALWAYS FOLLOW THIS SEQUENCE IF USER SLASH COMMANDS ARE NOT PRESENT:

    line 7
  2. Very specific:

    READ ALL DOCUMENTATION FILES IN ./documents.

    line 8
  3. Distinctive:

    IF THE TASK DIFFERS FROM THE PREVIOUS, CLEAR THE WHITEBOARD.

    line 10
  4. Very specific:

    WRITE REVISED CHAIN-OF-THOUGHT IN ./documents/whiteboard.md

    line 19
  5. Distinctive:

    WRITE OR UPDATE TESTS BEFORE IMPLEMENTING CODE (TDD) IF NEEDED.

    line 20
  6. Distinctive:

    RUN THE PROJECT CHECK AFTER EACH TASK AND FIX ERRORS USING THE TESTS FIX ALGORITHM.

    line 22
  7. Very specific:

    UPDATE ALL RELEVANT DOCUMENTATION IN ./documents.

    line 23
  8. Very specific:

    DELETE ./documents/whiteboard.md UPON COMPLETION.

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 7,324 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
workflow.mdc
---
description:
globs:
alwaysApply: false
---
# MAIN INSTRUCTIONS
ALWAYS FOLLOW THIS SEQUENCE IF USER SLASH COMMANDS ARE NOT PRESENT:
1. READ ALL DOCUMENTATION FILES IN `./documents`.
2. ANALYZE THE TASK.
3. IF THE TASK DIFFERS FROM THE PREVIOUS, CLEAR THE WHITEBOARD.
4. GENERATE A DETAILED CHAIN-OF-THOUGHT:
   - Restate the user query
   - Analyze the problem
   - Break down into subtasks
   - Identify potential issues and mitigations
   - Mark progress as you work
5. CRITIQUE THE CHAIN-OF-THOUGHT.
6. REVISE THE CHAIN-OF-THOUGHT TAKING THE CRITICISM INTO ACCOUNT.
7. WRITE REVISED CHAIN-OF-THOUGHT IN `./documents/whiteboard.md`
8. WRITE OR UPDATE TESTS BEFORE IMPLEMENTING CODE (TDD) IF NEEDED.
9. IMPLEMENT CODE CHANGES, EXPLAINING EACH STEP.
10. RUN THE PROJECT CHECK AFTER EACH TASK AND FIX ERRORS USING THE TESTS FIX ALGORITHM.
11. UPDATE ALL RELEVANT DOCUMENTATION IN `./documents`.
12. DELETE `./documents/whiteboard.md` UPON COMPLETION.

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.