backup/framework/.qoder/skills/acfm-memory/SKILL.md
Autonomous memory system for persistent learning across sessions. Automatically saves architectural decisions, bugfixes, patterns, and insights. Use to recall context from previous work and build institutional knowledge.
npx skillsauth add b4san/ac-framework acfm-memoryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The AC Framework Memory System provides autonomous persistent memory for AI agents. It automatically detects and saves valuable knowledge during development, then recalls relevant context when needed.
Key Capabilities:
acfm memory recall "<task description>"acfm memory search "<topic>"acfm memory patternsThe agent automatically saves memories when:
acfm memory statsacfm memory export team-memory.jsonacfm memory patterns --min-frequency 1| Type | Description | Auto-Trigger |
|------|-------------|--------------|
| architectural_decision | Major design decisions | After proposal/design |
| bugfix_pattern | Solutions to bugs | After fixing error |
| refactor_technique | Successful refactoring patterns | After refactor |
| performance_insight | Optimization learnings | After performance work |
| security_fix | Security vulnerability fixes | After security patch |
| api_pattern | API design patterns | After API work |
| convention | Project conventions | After establishing pattern |
| workaround | Temporary solutions | After implementing hack |
| context_boundary | System limitations | After defining boundaries |
acfm memory init
Creates the SQLite database at ~/.acfm/memory.db.
acfm memory save "Descripción de la decisión o patrón" \
--type architectural_decision \
--importance high \
--tags "react,performance"
# For specific task
acfm memory recall "implementing authentication"
# For current project (general context)
acfm memory recall
# Basic search
acfm memory search "JWT"
# Filtered search
acfm memory search "database" --type architectural_decision --importance high
acfm memory timeline <memory-id>
Shows what happened before and after a specific memory.
acfm memory connections <memory-id> --depth 2
Shows related memories as a graph.
acfm memory patterns
acfm memory patterns --type bugfix_pattern
Finds recurring topics and frequent error types.
acfm memory anticipate "caching strategy"
Predicts which memories will be relevant for a future task.
acfm memory stats
acfm memory stats --project /path/to/project
# Export for sharing
acfm memory export team-memory.json
# Import shared knowledge
acfm memory import team-memory.json
The agent evaluates content using a confidence score (0-1):
High confidence triggers (auto-save):
Low confidence (skip):
Base: 0.5
+ Decision keywords: +0.25
+ Contains solution: +0.20
+ Bug fix: +0.15
+ Architecture: +0.20
+ Optimization: +0.15
+ Security: +0.25
- Too short: -0.20
- Specific IDs: -0.15
- TODO/FIXME: -0.20
Threshold for auto-save: 0.60
When auto-saving, the agent will display:
💾 Memory saved: [Brief description of what was learned]
Type: bugfix_pattern | Confidence: 85%
Content between <private> tags is automatically redacted:
Decidimos usar AWS para hosting. <private>Usaremos la cuenta
producción-env-123</private> para el deployment.
Saved as:
Decidimos usar AWS para hosting. [REDACTED PRIVATE CONTENT]
When you request acfm spec instructions, the system automatically:
Example output:
{
"instruction": "...",
"relevantMemories": [
{
"id": 42,
"type": "architectural_decision",
"content": "Previous auth system used JWT...",
"importance": "high"
}
]
}
When implementing tasks, the system recalls:
acfm memory recall for relevant contextcritical or highacfm memory init per machineacfm memory stats to see what's been learnedacfm memory exportacfm memory prune to archive obsolete memories<private> tagsAgent fixes an authentication bug:
💾 Memory saved: JWT refresh token fails when expired during request
Type: bugfix_pattern | Confidence: 87%
Solution: Implement token refresh interceptor
Later, similar task:
$ acfm memory recall "authentication token"
→ [Memory #42] JWT refresh token fails when expired...
Agent completes proposal:
💾 Memory saved: Microservices architecture chosen for scalability
Type: architectural_decision | Confidence: 92%
Tags: ["architecture", "microservices", "scalability"]
Weeks later, new service:
$ acfm memory search "microservices" --type architectural_decision
→ [Memory #15] Microservices architecture chosen for scalability
$ acfm memory patterns --type bugfix_pattern
Detected patterns:
- null-check-react (3×) - Null checks in React components
- async-race-condition (2×) - Race conditions in async code
- cors-preflight (2×) - CORS preflight issues
Recommendation: Consider adding ESLint rules for null checks
acfm memory initacfm memory recall without query for general contextacfm memory statsacfmacfm-spec-workflow - Foundation for spec-driven developmentcontext-synthesizer - For managing context in long conversationssystematic-debugging - For complex problem resolutionSee acfm memory --help for all commands and options.
Remember: The memory system learns from every interaction. The more you use it, the more valuable it becomes.
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
development
Automate the generation and maintenance of unit, integration, and end-to-end tests, as well as test data generation and debugging. Use when writing tests for new features, maintaining existing tests after API/UI changes, generating synthetic test data, or debugging test failures. Essential for ensuring code quality and preventing regressions.
testing
Generate comprehensive test suites ensuring requirements are met. Strategies for Unit, Integration, and E2E testing.
development
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes