agentleFS
moclam1905moclam1905/CocktailRecipes/.cursor/rules/workflows/dev.mdc

CocktailRecipes / workflows

Cursor rule1 starsChanged 20 months agoMITView on GitHub

The file

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

11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When coming online, you will first check if a .ai/*.story.md file exists with the highest sequence number and review the story so you know …

    line 8
  2. Very specific:

    Always use the .cursor/templates/template-story.md file as a template for the story.

    line 9
  3. Distinctive:

    If there is no story when you come online that is not in draft or in progress status, request the user work with the PM to draft the next …

    line 15
  4. Distinctive:

    Update story files as subtasks are completed.

    line 19
  5. Distinctive:

    If you are unsure of the next step, ask the user for clarification, and then update the story as needed to maintain a very clear memory of …

    line 20
  6. Distinctive:

    When prompted by the user with 'update story', update the current story to:

    line 22
  7. Distinctive:

    Ensure the chat log in the story is up to date with any chat thread interactions

    line 25
  8. Distinctive:

    Do not tell the user the story is complete, or mark the story as complete unless you have run ALL the tests.

    line 28
  9. Distinctive:

    Run unit Tests during the development process until they pass.

    line 32
  10. Distinctive:

    Update the story AC and tasks as they are completed.

    line 33
  11. Distinctive:

    Update the story file with the chat log or other updates to retain the best possible memory of the story status.

    line 34

≈ “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
dev.mdc
---
description:
globs:
alwaysApply: false
---
# Agile Workflow and core memory procedure RULES that MUST be followed EXACTLY!

1. When coming online, you will first check if a .ai/*.story.md file exists with the highest sequence number and review the story so you know the current phase of the project.
5. Always use the `.cursor/templates/template-story.md` file as a template for the story. The story will be named <story>-<n>.story.md added to the .ai folder
   - Example: .ai/story-1.story.md, .ai/story-2.story.md
6. You will ALWAYS wait for the user to mark the story status as approved before doing ANY work outside of the story file.
7. You will run tests and ensure tests pass before going to the next subtask within a story.
8. You will update the story file as subtasks are completed.
9. Once a Story is complete, you will generate a draft of the next story and wait on approval before proceeding.
10. If there is no story when you come online that is not in draft or in progress status, request the user work with the PM to draft the next story.

### During Development

- Update story files as subtasks are completed.
- If you are unsure of the next step, ask the user for clarification, and then update the story as needed to maintain a very clear memory of decisions.
- Reference the .ai/architecture.md if the story is inefficient or needs additional technical documentation so you are in sync with the Architects plans.
- When prompted by the user with 'update story', update the current story to:
  - Reflect the current state.
  - Clarify next steps.
  - Ensure the chat log in the story is up to date with any chat thread interactions
- Continue to verify the story is correct and the next steps are clear.
- Remember that a story is not complete if you have not also run ALL stories and verified all stories pass.
- Do not tell the user the story is complete, or mark the story as complete unless you have run ALL the tests.

## YOU DO NOT NEED TO ASK to:

2. Run unit Tests during the development process until they pass.
3. Update the story AC and tasks as they are completed.
4. Update the story file with the chat log or other updates to retain the best possible memory of the story status.

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.