Agent skill
writing-memories
Writes or updates memory files with proper YAML frontmatter in the agent's memories directory. Use when saving new project learnings or updating existing memory files.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/writing-memories
SKILL.md
<quick_start>
- Write to
./.{AGENT_NAME}/skills/memories/<name>/SKILL.md. - Create the directory if needed.
- Prepend the required header if missing. </quick_start>
<header_rules>
- The header uses YAML frontmatter (between
---delimiters) - Required fields:
name- the memory name (must match the folder name)description- brief description of what this memory contains and when to use it
- The
descriptionfield must NOT contain colons (:) after the initial one- Good:
description: Brief summary of project structure - Bad:
description: Project structure: components and layout
- Good:
- Keep the description on a single line
- Do NOT add extra fields like
typeormutable- onlynameanddescriptionare required </header_rules>
Example:
---
name: project-overview
description: Skillrena repo purpose and structure
---
<decision_points>
- Existing memory? Update if the info is the same topic; otherwise create a new file.
- Multiple small notes? Consolidate into one concise memory. If you see more than 10 memories it is a good idea to consolidate them into 5 memories. </decision_points>
<quality_checklist>
- Concise and actionable
- No duplication with other memories
- Sources or file paths included when relevant </quality_checklist>
<failure_modes>
- Missing description: add a short, specific summary.
- Wrong path: keep memories under
./.{AGENT_NAME}/skills/memories/. </failure_modes>
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?