memory-manage
Manages the ai-context/ memory layer: initialize from scratch, update with session work, or maintain/cleanup. Trigger: /memory-init, /memory-update, /memory-maintain, initialize memory, update memory, maintain memory.
What this skill does
# memory-manage > Unified management of the ai-context/ memory layer. Three modes: init, update, maintain. **Triggers**: `/memory-init`, `/memory-update`, `/memory-maintain`, initialize memory, update memory, maintain memory, memory housekeeping, clean ai-context --- ## Mode Detection Determine the mode from the invocation: - `/memory-init` or "initialize memory" or "generate ai-context" → **init mode** - `/memory-update` or "update memory" or "sync memory" or "record session" → **update mode** - `/memory-maintain` or "maintain memory" or "memory housekeeping" or "clean ai-context" → **maintain mode** --- ## Mode: init > Creates the 5 core ai-context/ files from scratch by reading the project. **Use when**: Project has no `ai-context/` yet, or you want to regenerate from scratch. ### Process 1. **Project inventory**: Read configuration files, folder structure, README, representative source files, tests, CI/CD configs. 2. **Generate files**: - `ai-context/stack.md` — tech stack, versions, key tools - `ai-context/architecture.md` — architectural decisions and rationale - `ai-context/conventions.md` — naming patterns, code conventions - `ai-context/known-issues.md` — known bugs, tech debt, gotchas - `ai-context/changelog-ai.md` — empty, ready for session entries 3. **Feature stubs**: Scan for bounded contexts (directories with domain logic). Create `ai-context/features/_template.md` and stub files for discovered domains. 4. **Report**: List files created and coverage summary. --- ## Mode: update > Incrementally updates ai-context/ with work done in the current session. **Use when**: After completing significant work (SDD cycles, architecture changes, bug fixes). ### Process 1. **Analyze session**: Review what changed — files created/modified, decisions made, bugs fixed, conventions established. 2. **Update relevant files**: - `ai-context/stack.md` — new dependencies, version changes - `ai-context/architecture.md` — new decisions, pattern changes - `ai-context/conventions.md` — new naming patterns, style changes - `ai-context/known-issues.md` — new issues found, resolved issues marked - `ai-context/changelog-ai.md` — append entry with date, summary, files affected - `ai-context/features/<domain>.md` — update if relevant domain was touched 3. **Preserve**: Never overwrite `[manual]` sections. Only update `[auto-updated]` markers. --- ## Mode: maintain > Periodic housekeeping: archive old entries, separate resolved issues, detect gaps. **Use when**: changelog-ai.md is long (30+ entries), known-issues has resolved items, or at the start of a new project phase. ### Process 1. **Changelog archival**: If `changelog-ai.md` has more than 30 entries, move older entries to `changelog-ai-archive.md`. 2. **Known-issues cleanup**: Move resolved items from `known-issues.md` to `known-issues-archive.md`. 3. **Index generation**: Create/update `ai-context/index.md` listing all ai-context/ files with one-line descriptions. 4. **Gap detection**: Check if CLAUDE.md references ai-context/ files that don't exist. Report gaps. 5. **Dry-run first**: Present all proposed changes, require user confirmation before applying. --- ## Rules - Init mode MUST NOT run if ai-context/ already exists — warn and suggest update mode instead - Update mode MUST NOT create new core files — only modify existing ones - Maintain mode MUST present dry-run before any destructive action (archival, moves) - All modes are read-heavy, write-light — the goal is accurate, concise documentation - Never overwrite `[manual]` sections in any file - Feature file updates follow the format defined in `skills/feature-domain-expert/SKILL.md`
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.