working-with-context

Store and reference project context for codebase-aware analysis.

1|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/krzemienski/shannon-cli --skill working-with-context
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: working-with-context
Source: https://github.com/krzemienski/shannon-cli/tree/main/.claude/skills/working-with-context
Command: npx skills add https://github.com/krzemienski/shannon-cli --skill working-with-context

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Onboarding a new project and maintaining a consistent, codebase-aware perspective across analyses can be tedious. This Skill helps you store and reference project context (files, tech stack, modules, and patterns) so future analyses can leverage existing context for more accurate recommendations.

Core Features & Use Cases

  • Onboard a project to capture file inventory, structure, tech stack, and module patterns.
  • Reuse stored context in subsequent analyses to reference existing code, modules, and architectural decisions.
  • Maintain context across sessions by persisting data locally and in Serena MCP for collaborative projects.

Quick Start

Onboard your project with shannon onboard /path/to/project --project-id myproject, then analyze with the stored context using shannon analyze new_feature.md --project myproject.

Frequently Asked Questions about working-with-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I store project context for consistent codebase analysis across sessions?

You can store project context for codebase analysis by onboarding your project to capture file inventory, tech stack, and module patterns, then reusing the stored context in subsequent analyses to reference existing architectural decisions.

What is context-aware codebase analysis and when do I need it?

Context-aware codebase analysis is the process of referencing stored project context, such as file structures and module patterns, to provide accurate recommendations. You need it when onboarding new projects or maintaining consistency across multiple analysis sessions.

How do I onboard a project to capture tech stack and module patterns?

To onboard a project and capture its tech stack, run the onboarding command with your project path and a project ID. This process inventories files, structure, and patterns, storing them locally and in Serena MCP for future contextual usage.

Can I persist codebase context locally for collaborative project management?

Yes, you can persist codebase context locally and in Serena MCP for collaborative projects. This allows team members to maintain and reference the same project context across different analysis sessions.

What's the best way to analyze new features using stored project context?

The best way to analyze new features using stored project context is to run the analyze command with your feature file and project ID. This leverages previously stored structural data to deliver recommendations that align with existing code patterns.

Does this code analysis approach work without configuring Serena MCP?

While Serena MCP is used for persisting data in collaborative projects, the context can also be stored locally. You can onboard and analyze codebase structures without Serena MCP, but collaborative context sharing requires it.