agentleFS
kanyun-inckanyun-inc/reskill/.cursor/rules/collaboration.mdc

reskill / rules

Cursor rule59 starsChanged 9 months agoMITView on GitHub

Collaboration preferences and AI interaction style

The file

Show its rules and text

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

16 rules. About 0 are common, 13 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    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:

    When proposing changes, explain the "why" briefly before the "how"

    line 11
  2. Distinctive:

    If uncertain about intent, ask a focused question rather than guessing

    line 12
  3. Distinctive:

    Write clean code from the first attempt: no ugly callbacks, no inline logic

    line 16
  4. Distinctive:

    Prefer readability over cleverness

    line 18
  5. Distinctive:

    When refactoring, preserve existing behavior unless explicitly asked to change it

    line 19
  6. Distinctive:

    When multiple approaches exist, briefly present trade-offs and recommend one

    line 23
  7. Distinctive:

    Don't create files unless absolutely necessary.

    line 29
  8. Distinctive:

    Run tests after meaningful changes to catch regressions early

    line 30
  9. Distinctive:

    When fixing bugs, strictly follow TDD RED-GREEN cycle:

    line 31
  10. Distinctive:

    Never skip the RED step — a test that never failed proves nothing

    line 34
  11. Very specific:

    After fix: build and run node dist/cli/index.js <command> to manually verify the actual CLI behavior matches expectations

    line 35
  12. Distinctive:

    Commit only when explicitly asked

    line 36
  13. Distinctive:

    Before creating a commit, always check:

    line 37
  14. Very specific:

    Changeset: If the change affects public behavior (bug fix / feature / breaking), create a changeset file in .changeset/ following the …

    line 38
  15. Distinctive:

    README: If CLI command behavior, options, or output changed, check if README.md needs updating

    line 39
  16. Very specific:

    Docs: If the change introduces new concepts or modifies architecture, check if docs/ or CLAUDE.md need updating

    line 40

≈ “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
collaboration.mdc
---
description: Collaboration preferences and AI interaction style
alwaysApply: true
---

# Collaboration Preferences

## Communication Style

- Be direct and concise, skip unnecessary pleasantries
- When proposing changes, explain the "why" briefly before the "how"
- If uncertain about intent, ask a focused question rather than guessing

## Coding Expectations

- Write clean code from the first attempt: no ugly callbacks, no inline logic
- Extract functions, name clearly, single responsibility
- Prefer readability over cleverness
- When refactoring, preserve existing behavior unless explicitly asked to change it

## Decision Making

- When multiple approaches exist, briefly present trade-offs and recommend one
- For small decisions, just pick the better option and explain why
- For architectural decisions, switch to Plan mode to discuss

## Workflow Preferences

- Don't create files unless absolutely necessary; prefer editing existing ones
- Run tests after meaningful changes to catch regressions early
- When fixing bugs, strictly follow TDD RED-GREEN cycle:
  1. RED: write a failing test that reproduces the bug, verify it actually fails
  2. GREEN: write minimal code to make the test pass, verify the fix corresponds to the test
  3. Never skip the RED step — a test that never failed proves nothing
  4. After fix: build and run `node dist/cli/index.js <command>` to manually verify the actual CLI behavior matches expectations
- Commit only when explicitly asked
- Before creating a commit, always check:
  1. **Changeset**: If the change affects public behavior (bug fix / feature / breaking), create a changeset file in `.changeset/` following the bilingual format in `development.mdc`
  2. **README**: If CLI command behavior, options, or output changed, check if `README.md` needs updating
  3. **Docs**: If the change introduces new concepts or modifies architecture, check if `docs/` or `CLAUDE.md` need updating

## What I Value

- Accuracy over speed: double-check before answering
- Consistency: follow existing patterns in the codebase
- Proactive suggestions: if you notice something off, mention it
- Context awareness: remember what we discussed in this session

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.