remember
Review the current conversation and capture valuable knowledge — best practices, coding conventions, architecture decisions, workflows, and user feedback — into persistent memory (AGENTS.md) or reusable skills. Use when the user says: (1) remember this, (2) save what we learned, (3) update memory, (4) capture learnings.
What this skill does
Review our conversation and capture valuable knowledge. Focus especially on **best practices** we discussed or discovered—these are the most important things to preserve. ## Step 1: Identify Best Practices and Key Learnings Scan the conversation for: ### Best Practices (highest priority) - **Patterns that worked well** - approaches, techniques, or solutions we found effective - **Anti-patterns to avoid** - mistakes, gotchas, or approaches that caused problems - **Quality standards** - criteria we established for good code, documentation, or processes - **Decision rationale** - why we chose one approach over another ### Other Valuable Knowledge - Coding conventions and style preferences - Project architecture decisions - Workflows and processes we developed - Tools, libraries, or techniques worth remembering - Feedback I gave about your behavior or outputs ## Step 2: Decide Where to Store Each Learning For each best practice or learning, choose the right destination: ### -> Memory (AGENTS.md) for preferences and guidelines Use memory when the knowledge is: - A preference or guideline (not a multi-step process) - Something to always keep in mind - A simple rule or pattern **Global** (`~/.deepagents/agent/AGENTS.md`): Universal preferences across all projects **Project** (`.deepagents/AGENTS.md`): Project-specific conventions and decisions ### -> Skill for reusable workflows and methodologies **Create a skill when** we developed: - A multi-step process worth reusing - A methodology for a specific type of task - A workflow with best practices baked in - A procedure that should be followed consistently Skills are more powerful than memory entries because they can encode **how** to do something well, not just **what** to remember. ## Step 3: Create Skills for Significant Best Practices If we established best practices around a workflow or process, capture them in a skill. **Example:** If we discussed best practices for code review, create a `code-review` skill that encodes those practices into a reusable workflow. ### Skill Location `~/.deepagents/agent/skills/<skill-name>/SKILL.md` ### Skill Structure ``` skill-name/ ├── SKILL.md (required - main instructions with best practices) ├── scripts/ (optional - executable code) ├── references/ (optional - detailed documentation) └── assets/ (optional - templates, examples) ``` ### SKILL.md Format ```markdown --- name: skill-name description: "What this skill does AND when to use it. Include triggers like 'when the user asks to X' or 'when working with Y'. This description determines when the skill activates." --- # Skill Name ## Overview Brief explanation of what this skill accomplishes. ## Best Practices Capture the key best practices upfront: - Best practice 1: explanation - Best practice 2: explanation ## Process Step-by-step instructions (imperative form): 1. First, do X 2. Then, do Y 3. Finally, do Z ## Common Pitfalls - Pitfall to avoid and why - Another anti-pattern we discovered ``` ### Key Principles 1. **Encode best practices prominently** - Put them near the top so they guide the entire workflow 2. **Concise is key** - Only include non-obvious knowledge. Every paragraph should justify its token cost. 3. **Clear triggers** - The description determines when the skill activates. Be specific. 4. **Imperative form** - Write as commands: "Create a file" not "You should create a file" 5. **Include anti-patterns** - What NOT to do is often as valuable as what to do ## Step 4: Update Memory for Simpler Learnings For preferences, guidelines, and simple rules that don't warrant a full skill: ```markdown ## Best Practices - When doing X, always Y because Z - Avoid A because it leads to B ``` Use `edit_file` to update existing files or `write_file` to create new ones. ## Step 5: Summarize Changes List what you captured and where you stored it: - Skills created (with key best practices encoded) - Memory entries added (with location)
Related in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.