session-context
Skill3 starsChanged 4 months agoMITView on GitHub
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 explicitly asked to prime/build context for a new coding session or onboarding. Do NOT use for a simple factual lookup like "what did I commit yesterday?" -- that's a plain `git log`, not a context-building request.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- ryantlee25-droid/tagestheir own version, first seen Nov 8, 2026
- mahumadad/quarrytheir own version, first seen Nov 8, 2026
- Vinay-R/vibe-engineering-templatetheir own version, first seen Nov 1, 2026
- pskoett/pskoett-ai-skillstheir own version, first seen Oct 25, 2026
- sandraschi/onenote-mcptheir own version, first seen Oct 9, 2026
- InsightStudio-2026/agent-assetstheir own version, first seen Jul 1, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- pskoett/pskoett-ai-skills★ 327same name
- paolomoz/skills★ 4same name
- ryantlee25-droid/tages★ 4same name
- InsightStudio-2026/agent-assets★ 1same name
- mahumadad/quarry★ 1same name
- sandraschi/onenote-mcp★ 1same name
- Vinay-R/vibe-engineering-template★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository86 other files it gives its agents.
- AGENTS.mdAGENTS.md
- project-templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- project-templates/CLAUDE.mdCLAUDE.md
- alembic-migration-managerSkill
- architecture-journalSkill
- architecture-reviewSkill
- automated-code-reviewSkill
- axum-scaffolderSkill
- capture-consolidateSkill
- cargo-package-scaffoldSkill
- code-review-coachSkill
- confluence-guide-writerSkill
- dependency-mapperSkill
- doc-syncSkill
- dotnet-architecture-checklistSkill
- dotnet-controller-api-scaffolderSkill
- dotnet-security-reviewSkill
- dotnet-vertical-sliceSkill
- ef-migration-managerSkill
- email-captureSkill
- environment-healthSkill
- evaluate-testsSkill
- fastapi-scaffolderSkill
- fitness-functionsSkill
- jira-comment-writerSkill
- legacy-migration-analyzerSkill
- minimal-api-scaffolderSkill
- nuget-package-scaffoldSkill
- oss-vettingSkill
- pattern-tradeoff-analyzerSkill
- php-api-scaffolderSkill
- php-architecture-checklistSkill
- php-feature-sliceSkill
- php-migration-managerSkill
- php-package-scaffoldSkill
- php-security-reviewSkill
- pr-feedback-writerSkill
- pypi-package-scaffoldSkill
- python-architecture-checklistSkill
- python-feature-sliceSkill
- python-modernization-analyzerSkill
- python-security-reviewSkill
- qraspi-architectureSkill
- qraspi-graduateSkill
- qraspi-implementSkill
- qraspi-planSkill
- qraspi-questionsSkill
- qraspi-researchSkill
- qraspi-skeletonSkill
- qrspi-implementSkill
- qrspi-planSkill
- qrspi-questionsSkill
- qrspi-researchSkill
- qrspi-specSkill
- react-app-scaffolderSkill
- react-architecture-checklistSkill
- react-component-scaffolderSkill
- react-feature-sliceSkill
- react-modernization-analyzerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Every AI coding session starts with a context gap: the model doesn't know what changed yesterday, which architectural decisions govern this …
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Session Context
"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)
Core Philosophy
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:
- RELEVANCE OVER RECENCY — score context by relevance to the focus area; recency is only a tiebreaker.
- CITE EVERY CLAIM — every statement references a commit hash, file path, line number, or ADR; no exceptions.
- SUMMARIZE, DON'T DUMP — never reproduce full ADRs, logs, or files; summarize with citations.
- CONCISE SUMMARY — the executive summary fits one screen (< 40 lines); detailed sections are for drill-down.
- OBSERVATION ≠ INFERENCE — label inferences explicitly; only verifiable facts are stated as facts.
Full principle table, the change-summarization and ADR-matching protocols, discipline rules,
anti-patterns, and error recovery live in references/conventions.md.
Workflow
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.
State Block
<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>Output Template
- Executive summary, change group, dependency context, hotspot analysis —
references/output-templates.md. - Git log analysis techniques (grouping, diff-stat, hotspot detection, branch topology) —
references/change-summarization.md. - Relevance scoring (proximity, recency, ADR applicability, dependency-path relevance) —
references/relevance-matching.md. - Principle table, summarization + ADR protocols, discipline rules, anti-patterns, error recovery —
references/conventions.md.
Integration with Other Skills
| 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. |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

