Skip to content

Commit a8be7c0

Browse files
committed
chore: improve implementation-strategy skill details
1 parent e00f377 commit a8be7c0

File tree

1 file changed

+3
-3
lines changed
  • .agents/skills/implementation-strategy

1 file changed

+3
-3
lines changed

.agents/skills/implementation-strategy/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ Use this skill before editing code when the task changes runtime behavior or any
1212
## Quick start
1313

1414
1. Identify the surface you are changing: released public API, unreleased branch-local API, internal helper, persisted schema, wire protocol, CLI/config/env surface, or docs/examples only.
15-
2. Determine the latest release boundary:
15+
2. Determine the latest release boundary from `origin` first, and only fall back to local tags when remote tags are unavailable:
1616
```bash
1717
BASE_TAG="$(.agents/skills/final-release-review/scripts/find_latest_release_tag.sh origin 'v*' 2>/dev/null || git tag -l 'v*' --sort=-v:refname | head -n1)"
1818
echo "$BASE_TAG"
1919
```
20-
3. Judge breaking-change risk against that latest release tag, not against unreleased branch churn or post-tag changes already on `main`.
20+
3. Judge breaking-change risk against that latest release tag, not against unreleased branch churn or post-tag changes already on `main`. If the command fell back to local tags, treat the result as potentially stale and say so.
2121
4. Prefer the simplest implementation that satisfies the current task. Update callers, tests, docs, and examples directly instead of preserving superseded unreleased interfaces.
22-
5. Add a compatibility layer only when there is a concrete released consumer or an explicitly supported durable external state boundary that requires it, or when the user explicitly asks for a migration path.
22+
5. Add a compatibility layer only when there is a concrete released consumer, an otherwise supported durable external state boundary that requires it, or when the user explicitly asks for a migration path.
2323

2424
## Compatibility boundary rules
2525

0 commit comments

Comments
 (0)