agentleFS
dalehurleydalehurley/php-mcp-sdk/.cursor/rules/changelog-maintenance.mdc

php-mcp-sdk / rules

Cursor rule27 starsChanged 15 months agoMITView on GitHub

The CHANGELOG.md file must be maintained for every change to the PHP MCP SDK. When making changes, ensure the changelog includes: ✅ Good: "Added McpServer::registerBatchTools() method to register multiple tools at once, improving initialization performance" ❌ Bad: "Updated server code" ✅ Good: "Fixed memory leak in StdioTransport when handling messages larger than 1MB" ❌ Bad: "Fixed bug" Note: If you're unsure about how to categorize a change, review the Keep a Changelog guidelines linked in the changelog header.

The file

We split this changelog-maintenance.mdc into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When making changes, ensure the changelog includes:

    line 49
  2. Distinctive:

    Keep entries concise but informative

    line 74
  3. Distinctive:

    Update immediately after changes to avoid forgetting details

    line 75
  4. Distinctive:

    Note: If you're unsure about how to categorize a change, review the Keep a Changelog guidelines linked in the changelog header.

    line 77

≈ “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
changelog-maintenance.mdc
---
alwaysApply: true
---

# Changelog Maintenance Requirements

## IMPORTANT: Always Review and Update the Changelog

The [CHANGELOG.md](mdc:CHANGELOG.md) file must be maintained for every change to the PHP MCP SDK.

### Before Starting Any Work

1. **Review the changelog** to understand:

   - Recent changes that might affect your work
   - Current version and unreleased changes
   - Any deprecated features to avoid using

2. **Check for conflicts** with ongoing work listed in "Unreleased"

### After Completing Changes

1. **Update the changelog** immediately with:

   - Clear description of what changed
   - Category (Added/Changed/Deprecated/Removed/Fixed/Security)
   - Any breaking changes or migration notes
   - Dependencies added or updated

2. **Format entries** properly:

   ```markdown
   ### Added

   - Brief description of new feature or capability
   - Another new feature with explanation if needed

   ### Changed

   - What was modified and why (if not obvious)

   ### Fixed

   - Bug that was fixed with issue reference if applicable
   ```

### Changelog Update Checklist

When making changes, ensure the changelog includes:

- [ ] All new features or capabilities added
- [ ] Any changes to existing functionality
- [ ] Bug fixes with clear descriptions
- [ ] New dependencies or dependency updates
- [ ] Breaking changes highlighted with migration notes
- [ ] Security fixes (if applicable)
- [ ] Deprecation notices for features being phased out

### Examples of Good Changelog Entries

✅ **Good**: "Added `McpServer::registerBatchTools()` method to register multiple tools at once, improving initialization performance"

❌ **Bad**: "Updated server code"

✅ **Good**: "Fixed memory leak in `StdioTransport` when handling messages larger than 1MB"

❌ **Bad**: "Fixed bug"

### Remember

- The changelog is for humans, not machines - write clearly
- Include the "why" when the reason isn't obvious
- Group related changes together
- Keep entries concise but informative
- Update immediately after changes to avoid forgetting details

**Note**: If you're unsure about how to categorize a change, review the [Keep a Changelog](https://keepachangelog.com) guidelines linked in the changelog header.

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.