| name | codesyncer |
| description | AI context persistence - tags in code = permanent memory across sessions |
CodeSyncer
Claude forgets everything when the session ends. CodeSyncer makes it remember.
When to use
Use this skill on ANY project where you want AI to:
- Remember decisions across sessions
- Track why code was written a certain way
- Auto-pause before touching payment/security/API code
- Never lose context again
Core Rules
1. Always Add Tags
| Situation | Tag | Example |
|---|
| You inferred something | @codesyncer-inference | // @codesyncer-inference: Page size 20 (standard UX) |
| Decision after discussion | @codesyncer-decision | // @codesyncer-decision: [2024-01-15] Using JWT |
| Non-standard implementation | @codesyncer-rule | // @codesyncer-rule: any type here (no types available) |
| Needs user confirmation | @codesyncer-todo | // @codesyncer-todo: Confirm API endpoint |
| Business context | @codesyncer-context | // @codesyncer-context: GDPR requires 30-day retention |
2. Never Infer Critical Values
ALWAYS ASK the user about:
- ๐ฐ Prices, fees, discounts, billing
- ๐ Auth methods, token expiry, encryption
- ๐ API endpoints, external service URLs
- ๐๏ธ Database schemas, migrations
โ Bad: "I set the shipping fee to $5"
โ
Good: "What should the shipping fee be?"
3. Auto-Pause Keywords
When you detect these keywords, STOP and discuss before coding:
- payment, billing, subscription, charge, refund
- authentication, login, permission, encrypt, token
- delete, remove, drop, migrate, schema change
- personal data, GDPR, privacy
Tag Examples
const paymentProvider = 'stripe';
const apiConfig = {
timeout: 5000,
retries: 3,
};
const DISCOUNT_RATE = 0.1;
Why This Matters
Next session, when AI reads your code:
- Sees
@codesyncer-decision โ Knows WHY you chose Stripe
- Sees
@codesyncer-inference โ Knows the reasoning behind values
- Sees
@codesyncer-todo โ Knows what still needs confirmation
Context survives across sessions. No more "why did we do this?"
Quick Reference
Inferred something? โ @codesyncer-inference: [reason]
Made a decision? โ @codesyncer-decision: [date] [what] [why]
Special rule? โ @codesyncer-rule: [explanation]
Need to confirm? โ @codesyncer-todo: [what to confirm]
Business context? โ @codesyncer-context: [domain knowledge]
Learn More