| name | raouf-change-protocol |
| description | Before making any code changes, read AGENT.md/agent.md and changelog variants (CHANGELOG*.md, HISTORY.md, RELEASES.md). After changes, update both agent + changelog files with a "Raouf:" template entry. If blocked, search latest official developer docs and use all available tools/MCPs. |
Raouf Change Protocol (MANDATORY)
Trigger
Use this skill whenever the user asks to:
- edit/refactor/implement/fix anything
- “update code”, “make changes”, “polish”, “debug”, “wire up”, “clean up”
- or any task that modifies repo files
Non-negotiables
- Preflight reading comes first
- Locate and OPEN, then read (not skim):
- Agent rules:
AGENT.mdORagent.md(preferAGENT.mdif both exist) - Change log (first match wins):
CHANGELOG.md,changelog.mdCHANGELOG*.md(e.g.,CHANGELOG_v2.md,CHANGELOG-2025.md)HISTORY.mdRELEASES.md
- Agent rules:
- Search order:
- repo root
docs/.github/app/,src/- anywhere else (full repo search)
- If multiple candidates exist:
- Prefer in this order:
- root
CHANGELOG.md - root
CHANGELOG*.md - root
HISTORY.md - root
RELEASES.md - then the same order under
docs/and.github/
- root
- Record which file you chose in the Preflight summary.
- Prefer in this order:
- If no changelog exists, create
CHANGELOG.mdusing theRaouf:template and proceed.
- Explain before touching
- After reading, output:
- a 5–10 bullet summary of constraints from AGENT
- a 5–10 bullet summary of recent changes from the chosen changelog
- your planned edits (files you’ll touch + why)
- Edit safely
- Make minimal, consistent changes aligned with AGENT rules.
- Prefer small commits-worth of changes (even if not committing).
- Run the project’s usual checks (lint/test/build) if available.
- If you hit a roadblock
- Stop and capture:
- exact error message
- command/run context
- file + line numbers
- Then search the latest official developer documentation relevant to the tech stack.
- Prefer: official docs, release notes, GitHub issues from maintainers
- Use all available tools/MCPs (repo search, web search, docs lookup, test runner, etc.)
- Propose 1–3 fixes with reasoning, then apply the best one.
- Postflight logging (MANDATORY)
- Update BOTH:
- the chosen changelog file
- the chosen agent file
- Append a new entry using the “Raouf:” template:
- include date (Australia/Sydney), scope, summary, files changed, verification, and follow-ups.
Output format (every time)
- ✅ Preflight summary
- 🧠 Plan
- 🔧 Changes made (file-by-file)
- 🧪 Verification (commands + results)
- 🧾 Logs updated (show the appended entries verbatim)