Skip to content

Set of Cursor rules to facilitate Agile in your squad. Currently, it is generate possible to create User stories and Gherkin files for Acceptance criterias, UML & C4 Diagrams to improve the solutions.

License

Notifications You must be signed in to change notification settings

jabrena/cursor-rules-agile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cursor rules for Agile

Motivation

Using modern IDEs with AI capabilities like Cursor, software engineers can use those features to implement software using prompts. However, in order to help the models, it is a good idea to provide the software requirements, technical decisions, and designs in context.

Using conversational and non-conversational approaches, you can decompose your problems into EPICs, Features & User Stories if you follow Agile principles. With that analysis, you can answer the questions about What you are going to build, Why it is necessary to build, and Who is going to use the software. Apart from those questions, you should describe the technical specifications about How you will implement the software, and you can describe those restrictions using ADR files as the format to describe the functional and non-functional requirements. You can also model the design using diagrams in UML & C4 format.

Models using specifications, decision records, and diagrams in context will generate better software with less ambiguity and less waste.

Goals

This repository provides a set of cursor rules to generate good software specifications based on Agile principles to be added to the Cursor context to generate better software.

The repository can be used by the following roles: EA, PO, BA, SA, TL, SSE, SE


https://learn.microsoft.com/en-us/azure/devops/boards/backlogs/define-features-epics?view=azure-devops&tabs=agile-process

Cursor Rules

Cursor rules designed to answer the questions about WHAT the development team is going to build, WHY it is necessary to build, and WHO is going to use it:

Phase Role Cursor Rule Description
Software requirements gathering Product Owner Create an Agile Epic Define and structure high-level business objectives as epics
Software requirements gathering Product Owner Create an Agile Feature Break down epics into manageable features
Software requirements gathering Product Owner / Business Analyst Create an Agile User Story Create detailed user stories from features with acceptance criteria based on Gherkin

Cursor rules designed to answer the questions about HOW the team is going to build the requirements and WHAT restrictions the software will have:

Phase Role Cursor Rule Description
Design Solution Architect UML Sequence Diagram Generate UML sequence diagrams to visualize system interactions
Design Solution Architect C4 Model Diagrams Create C4 architecture diagrams for system visualization
Requirements Solution Architect / Technical Lead ADR about Functional requirements for CLI Development Create architectural decision records about functional requirements for CLI applications
Requirements Solution Architect / Technical Lead ADR about Functional requirements for REST API Create architectural decision records about functional requirements for REST API development
Requirements Solution Architect / Technical Lead ADR about Acceptance Testing Strategy Define comprehensive acceptance testing strategies
Requirements Architect / Technical Lead ADR about Non-Functional Requirements Define non-functional requirements and constraints following ISO-25010
Requirements General ADR creation using a Conversational approach Interactive assistant for creating architectural decision records

Cursor rules designed to implement the requirements and refactor:

Phase Role Cursor Rule Description
Implementation Product Owner / Technical Lead Create Task List Generate detailed task lists from agile artifacts
Implementation Technical Lead / Senior Software engineer Implement Task List Manage and track implementation of generated tasks
Implementation Product Owner / Technical Lead Definition of Done Creation Create comprehensive Definition of Done documents with quality gates and completion criteria
Refactoring Technical Lead / Senior Software engineer UML Class Diagram Generator Generate UML class diagrams for object-oriented design

Getting Started

If you are interested in getting the benefits from these cursor rules, you can manually download this repository and copy the './cursor' folder and paste it into your repository, or delegate this task to a specific command-line tool based on Jbang:

sdk install jbang
# Add cursor rules for Agile in ./cursor/rules
jbang --fresh setup@jabrena init --cursor https://github.com/jabrena/cursor-rules-agile

Once you have installed the cursor rules:

Phase Role Cursor Rule Description
Getting Started All Create Agile Development Checklist Cursor rule designed to help the user to use the whole set of cursor rules for agile in an easy way

Type the following prompt in the cursor chat:

Create an agile development checklist using the cursor rule @2000-agile-checklist

Examples

Learn about how these rules helped to implement some non-trivial examples

How to contribute

If you have nice ideas, please create an issue

References

Cursor rules ecosystem

About

Set of Cursor rules to facilitate Agile in your squad. Currently, it is generate possible to create User stories and Gherkin files for Acceptance criterias, UML & C4 Diagrams to improve the solutions.

Topics

Resources

License

Stars

Watchers

Forks