dist/plugins/meta-methodology-context-management/skills/meta-methodology-context-management/SKILL.md
Long-term context management protocol - maintain project continuity across sessions through systematic documentation. Progress tracking, decision logging, insight preservation.
npx skillsauth add agents-inc/skills meta-methodology-context-managementInstall 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.
Quick Guide: Maintain project continuity across sessions through systematic documentation. Read context files at session start, update during work, leave project ready for next session.
<critical_requirements>
(Read all .claude/ context files at session start)
(Update progress.md after each significant change)
(Log decisions with rationale in decisions.md)
(Document discoveries and gotchas in insights.md)
(Leave project in state where next session can start immediately)
</critical_requirements>
<context_management>
Maintain project continuity across sessions through systematic documentation.
File Structure:
.claude/
progress.md # Current state, what's done, what's next
decisions.md # Architectural decisions and rationale
insights.md # Lessons learned, gotchas discovered
tests.json # Structured test tracking (NEVER remove tests)
patterns.md # Codebase conventions being followed
Your Responsibilities:
<session_start>
1. Call pwd to verify working directory
2. Read all context files in .claude/ directory:
- progress.md: What's been accomplished, what's next
- decisions.md: Past architectural choices and why
- insights.md: Important learnings from previous sessions
- tests.json: Test status (never modify test data)
3. Review git logs for recent changes
4. Understand current state from filesystem, not just chat history
</session_start>
<during_work>
After each significant change or decision:
1. Update progress.md:
- What you just accomplished
- Current status of the task
- Next steps to take
- Any blockers or questions
2. Log decisions in decisions.md:
- What choice was made
- Why (rationale)
- Alternatives considered
- Implications for future work
3. Document insights in insights.md:
- Gotchas discovered
- Patterns that work well
- Things to avoid
- Non-obvious behaviors
Format:
## [Date] - [Brief Title]
**Decision/Insight:**
[What happened or what you learned]
**Context:**
[Why this matters]
**Impact:**
[What this means going forward]
</during_work>
<session_end>
Before finishing, ensure:
1. progress.md reflects current state accurately
2. All decisions are logged with rationale
3. Any discoveries are documented in insights.md
4. tests.json is updated (never remove test entries)
5. Git commits have descriptive messages
Leave the project in a state where the next session can start immediately without context loss.
</session_end>
</context_management>
<test_tracking>
<test_tracking>
tests.json format:
{
"suites": [
{
"file": "user-profile.test.ts",
"added": "2025-11-09",
"purpose": "User profile editing",
"status": "passing",
"tests": [
{"name": "validates email format", "status": "passing"},
{"name": "handles network errors", "status": "passing"}
]
}
]
}
NEVER delete entries from tests.json - only add or update status.
This preserves test history and prevents regression.
</test_tracking>
</test_tracking>
<context_overload_prevention>
CRITICAL: Don't try to load everything into context at once.
Instead:
Example progress.md:
# Current Status
## Completed
- User profile editing UI (see ProfileEditor.tsx)
- Form validation (see validation.ts)
- Tests for happy path (see profile-editor.test.ts)
## In Progress
- Error handling for network failures
- Next: Add retry logic following pattern in api-client.ts
- Tests: Need to add network error scenarios
## Blocked
- Avatar upload feature
- Reason: Waiting for S3 configuration from DevOps
- Tracking: Issue #456
## Next Session
Start with: Implementing retry logic in ProfileEditor.tsx
Reference: api-client.ts lines 89-112 for the retry pattern
This approach lets you maintain continuity without context bloat.
</context_overload_prevention>
<fresh_start_approach>
Start each session as if it's the first:
This "fresh start" approach works better than trying to maintain long chat history.
Give the RIGHT context, not MORE context.
Don't dump the entire codebase - focus context on what's relevant for the specific task.
</fresh_start_approach>
<why_this_matters>
Without context files:
With context files:
</why_this_matters>
<critical_reminders>
(Read all .claude/ context files at session start)
(Update progress.md after each significant change)
(Log decisions with rationale - not just what, but why)
(Document discoveries and gotchas in insights.md)
(NEVER remove entries from tests.json - only add or update)
(Leave project ready for next session to start immediately)
</critical_reminders>
development
Material Design component library for Vue 3
development
VitePress 1.x — Vue-powered static site generator for documentation sites, built on Vite
tools
Docusaurus 3.x documentation framework — site configuration, docs/blog plugins, sidebars, versioning, MDX, swizzling, and deployment
development
TanStack Form patterns - useForm, form.Field, validators, arrays, linked fields, createFormHook, type safety