Agent skill
session-management
Managing session docs, updating documentation throughout SDLC, archiving sessions. Use when starting/ending sessions or updating docs.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/session-management-maple-and-spruce-maple-and-spruce
SKILL.md
Session & Documentation Management
When to Use
Use this skill at the start and end of every session, and whenever documentation needs updating during development work.
Self-Updating Documentation Workflow
Documentation in this project is designed to stay current. Follow this READ -> FIND -> UPDATE -> CREATE -> ARCHIVE lifecycle.
READ Phase (start of session / before coding)
Always read these at session start:
AGENTS.md- Project context and directivesdocs/sessions/SESSION.md- Current work status and next steps- Run
gh issue listto check open issues
Read these based on the task:
- Feature work:
docs/reference/implementation-status.md,docs/reference/REQUIREMENTS.md - Pattern questions:
docs/architecture/PATTERNS-AND-PRACTICES.md - Architecture decisions:
docs/architecture/DECISIONS.md - Environment/deployment:
docs/guides/environment-setup.md,docs/architecture/ci-cd.md
FIND Phase (locating relevant docs)
| What you need | Where to look |
|---|---|
| Procedural workflows | .claude/skills/{name}/SKILL.md |
| Path-specific rules | .claude/rules/ (auto-loaded by glob match) |
| System design, ADRs | docs/architecture/ |
| How-to guides | docs/guides/ |
| Status tracking, specs | docs/reference/ |
| Session context | docs/sessions/ |
UPDATE Phase (during and after coding)
Update these as you work:
| When this happens | Update this file |
|---|---|
| Feature started or completed | docs/reference/implementation-status.md |
| New Cloud Function deployed | docs/reference/deployed-functions.md |
| Task completed in session | docs/sessions/SESSION.md |
| Architecture decision made | docs/architecture/DECISIONS.md (new ADR) |
| New code pattern established | docs/architecture/PATTERNS-AND-PRACTICES.md |
| New feature planned | docs/reference/REQUIREMENTS.md |
| Future idea captured | docs/reference/BACKLOG.md |
CREATE Phase (when new docs are needed)
| Doc type | Location | Format |
|---|---|---|
| Procedural workflow | .claude/skills/{name}/SKILL.md |
Frontmatter + instructions |
| Path-specific rule | .claude/rules/{context}.md |
Globs frontmatter + rules |
| Architecture doc | docs/architecture/ |
Markdown |
| How-to guide | docs/guides/ |
Markdown |
| Reference/tracking | docs/reference/ |
Markdown |
Skill format
---
name: skill-name
description: Brief description including trigger keywords. Max 200 chars.
---
# Skill Title
## When to Use
## Instructions
## Examples
## Common Issues
Rule format
---
globs: ["path/pattern/**"]
---
# Rule Title
Context-specific rules here.
ARCHIVE Phase (end of session)
- Update
docs/sessions/SESSION.mdwith:- What was completed
- Current status
- Next steps
- Any blockers
- When starting a new phase or milestone, archive the current session:
- Copy content to
docs/sessions/history/YYYY-MM-DD.md - Reset
docs/sessions/SESSION.mdfor the new context
- Copy content to
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?