agentleFS
pproencapproenca/unifi-mcp/.agents/skills/implementation-strategy/SKILL.md

implementation-strategy

Skill2 starsChanged 7 months agoMITView on GitHub

Decide how to implement runtime and API changes before editing code. Use when a task changes exported APIs, MCP tool definitions, runtime behavior, or configuration, and you need to choose the compatibility boundary and implementation shape.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 7

    Distinctive

    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:

    Use this skill before editing code when the task changes runtime behavior or anything that might look like a compatibility concern.

    line 10
  2. Distinctive:

    Prefer the simplest implementation.

    line 20
  3. Distinctive:

    Add a compatibility layer only when there is a concrete released consumer or the user explicitly asks for a migration path.

    line 21
  4. Distinctive:

    Internal helpers, private types, tests, and fixtures: update directly.

    line 28
  5. Distinctive:

    Prefer deletion or replacement over shims and feature flags when the old shape is unreleased.

    line 32
  6. Distinctive:

    Do not preserve a confusing abstraction just because it exists in the current branch diff.

    line 33
  7. Distinctive:

    If a change truly crosses the latest released contract boundary, call that out explicitly.

    line 34

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “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
SKILL.md

Implementation Strategy

Overview

Use this skill before editing code when the task changes runtime behavior or anything that might look like a compatibility concern. The goal is to keep implementations simple while protecting real released contracts.

Quick start

  1. Identify the surface you are changing: released MCP tool API, unreleased branch-local API, internal helper, configuration surface, or docs only.
  2. Determine the latest release boundary:
    git tag -l 'v*' --sort=-v:refname | head -n1
  3. Judge breaking-change risk against that latest release tag, not against unreleased branch churn.
  4. Prefer the simplest implementation. Update callers, tests, and docs directly instead of preserving superseded unreleased interfaces.
  5. Add a compatibility layer only when there is a concrete released consumer or the user explicitly asks for a migration path.

Compatibility boundary rules

  • Released MCP tool API or documented external behavior: preserve compatibility or provide an explicit migration path.
  • Configuration, environment variables, and externally consumed settings: treat as compatibility-sensitive when part of the latest release.
  • Interface changes on the current branch or after the latest release tag: not a compatibility target. Rewrite directly.
  • Internal helpers, private types, tests, and fixtures: update directly.

Default implementation stance

  • Prefer deletion or replacement over shims and feature flags when the old shape is unreleased.
  • Do not preserve a confusing abstraction just because it exists in the current branch diff.
  • If a change truly crosses the latest released contract boundary, call that out explicitly.

When to stop and confirm

  • The change would alter behavior shipped in the latest release tag.
  • The change would modify MCP tool schemas that clients depend on.
  • The user explicitly asked for backward compatibility or migration support.

Output

State the decision briefly:

  • Compatibility boundary: latest release tag v0.x.y; branch-local interface rewrite, no shim needed.
  • Compatibility boundary: released tool schema; preserve compatibility and add migration path.

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.