Add Cursor rules for project context, PR workflow and code style#77
Merged
Conversation
Introduce .cursor/rules/*.mdc so the agent applies SciELO RCT objectives, mandatory docs/pr insumos, deliverables in Markdown, no-comments policy,extract-on-reuse, and Black/isort for Python.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O que esse PR faz?
Adiciona regras persistentes do Cursor em
.cursor/rules/para orientar o agente de IA no desenvolvimento do MarkAPI (SciELO RCT):project-objectives.mdcpr-commit.mdcdocs/pr/e mensagem de commit por tarefa com código.deliverables-markdown-files.mdc.mdemdocs/.no-comments.mdcextract-function-on-reuse.mdcpython-black-isort.mdcpyproject.toml).Todas as regras de processo usam
alwaysApply: true;python-black-isort.mdcaplica-se a**/*.py.Onde a revisão poderia começar?
.cursor/rules/project-objectives.mdc— alinhamento com a visão do produto..cursor/rules/pr-commit.mdc— fluxo de entregáveis e PR..cursor/rules/(regras curtas de estilo).Como este poderia ser testado manualmente?
.cursor/rules.docs/pr/conformepr-commit.mdc.project-objectives.mdc.Não há alteração de runtime Django/Celery; não é necessário
make django_testpara validar este PR.Algum cenário de contexto que queira dar?
As regras foram extraídas da especificação SciELO RCT (
scielo_rct_v3_updated.docx, v4.0) e das convenções acordadas na equipa (entregáveis em Markdown, PR template em.github/PULL_REQUEST_TEMPLATE/pull_request_template.md).Âmbito do commit/PR: apenas
.cursor/rules/*.mdce este insumo emdocs/pr/. Não incluir alterações locais não relacionadas (ex.:config/settings/local.py,.gitignore, scripts, modelos LLM,.review_pr64/).Screenshots
N/A
Quais são tickets relevantes?
N/A
Referências
scielo_rct_v3_updated.docx).github/PULL_REQUEST_TEMPLATE/pull_request_template.md