skills/team/session-context/SKILL.md
Git change summarization, ADR relevance matching, and pattern applicability for building session context. Provides techniques for analyzing recent project activity, scoring context relevance, and detecting patterns that accelerate AI coding session starts. Use when building context for a new coding session, analyzing recent changes, or matching project decisions to current work.
npx skillsauth add michaelalber/ai-toolkit session-contextInstall 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.
"Context is worth 80 IQ points. The difference between a productive coding session and a stumbling one is whether you understood the state of the system before you started changing it." -- Alan Kay (attributed)
Every AI coding session starts with a context gap: the model doesn't know what changed yesterday, which architectural decisions govern this module, or which files are volatile. This skill bridges that gap systematically, turning cold-start into a solved problem. Session context is not about knowing everything — it is about knowing the right things. Relevant context, delivered concisely at session start, prevents more bugs than any amount of testing after the fact.
Non-Negotiable Constraints:
Full principle table, the change-summarization and ADR-matching protocols, discipline rules,
anti-patterns, and error recovery live in references/conventions.md.
SCOPE Define the focus area + time window (default 2 weeks active / 4 weeks less active);
identify the repo root and branch topology.
GATHER Collect raw context: git log --stat for the window, file change frequencies (hotspots),
imports/deps in the focus area, ADR files + dates, convention files, README/design docs.
(Protocols: conventions.md; techniques: change-summarization.md.)
SCORE Rate each item: proximity to focus, recency weighting, ADR applicability, dependency
relevance. Filter below the relevance threshold. (Scoring: relevance-matching.md.)
SYNTHESIZE Group git changes by feature/area; rank ADRs by relevance; present the focused dependency
subgraph; surface warnings (hotspots, overdue reviews, breaking changes); form recommendations.
DELIVER Present the briefing (templates in output-templates.md): executive summary first
(< 40 lines), detailed sections following, every claim cited, recommendations actionable.
Exit criteria: a briefing with a < 40-line executive summary, every claim cited, ADRs ranked by relevance with stated reasons, dependency blast radius shown, staleness/hotspot warnings surfaced, and specific session recommendations.
<session-context-state>
mode: scope | gather | score | synthesize | deliver
focus_area: [files, modules, or features]
time_window: [date range]
repository: [path to repository root]
commits_collected: [count]
files_in_focus: [count]
adrs_discovered: [count]
adrs_relevant: [count]
dependencies_traced: [count]
hotspots_detected: [count]
relevance_threshold: [score cutoff]
last_action: [what was just completed]
next_action: [what should happen next]
</session-context-state>
references/output-templates.md.references/change-summarization.md.references/relevance-matching.md.references/conventions.md.| Skill | Relationship |
|-------|-------------|
| architecture-journal | This skill surfaces relevant ADRs and overdue retrospectives; architecture-journal provides the templates and review protocols to act on them. |
| dependency-mapper | This skill traces dependencies at summary level for blast radius; dependency-mapper provides full Martin metrics (Ca, Ce, I, A, D) when patterns look concerning. |
| qrspi-research / qraspi-research | Use session-context as a pre-step to seed research with recent-change context before deeper codebase exploration. |
development
Interviews the user relentlessly about a plan, decision, or idea — one question at a time, each with a recommended answer. Shared engine behind "grill-me" and "grill-with-docs". Use on any "grill" trigger phrase or to stress-test thinking. Do NOT use to build the plan; it ends at shared understanding, not implementation.
testing
Runs a relentless interview to sharpen a plan or design, capturing the decisions as ADRs and a glossary along the way. Use when the user wants to be grilled AND wants the session to leave durable domain documentation behind. Do NOT use for a throwaway stress-test with no artifacts; use grill-me instead.
tools
OWASP-based security review of Vue/TypeScript front-ends. Detects framework (Vite/Vue CLI/Nuxt), entry points, and data flows; scans the OWASP Top 10 (2025) mapped to Vue client-side risks (raw-HTML XSS via v-html, URL/protocol injection, bundled secrets, insecure token storage, dependency CVEs, missing CSP, open redirects, router guard bypass); emits an exec summary plus graded findings. Use to audit Vue for vulnerabilities. Not for architecture grading (vue-architecture-checklist).
tools
Analyzes legacy Vue codebases and produces actionable modernization plans. Primary migration paths include Options API to Composition API, Vue 2 to Vue 3, Vue CLI to Vite, JavaScript to TypeScript, Vue Test Utils/Karma/Mocha to Vitest + Vue Testing Library, legacy Vuex to Pinia, and removed-in-Vue-3 pattern cleanup (filters, event bus, `$listeners`). Does NOT perform the migration — assesses, quantifies risk, and plans.