context-gatherer

Extract key terms from prompts and map them to the existing codebase.

11|2|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/Viniciuscarvalho/Feature-marker --skill context-gatherer
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: context-gatherer
Source: https://github.com/Viniciuscarvalho/Feature-marker/tree/main/feature-marker-dist/feature-marker/resources/spec-workflow/skills/context-gatherer
Command: npx skills add https://github.com/Viniciuscarvalho/Feature-marker --skill context-gatherer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill grounds feature specifications by scanning the codebase before PRD generation, extracting key terms from prompts, and embedding actual project context to reduce assumptions.

Core Features & Use Cases

  • Extract key terms (entities, actions, domain words) from user prompts.
  • Locate related files and patterns across the repository to inform spec-building.
  • Generate a .claude/feature-state/{slug}/context.md with a structured context report.

Quick Start

Tell context-gatherer to scan the current project to seed the initial context and create the context.md file.

Frequently Asked Questions about context-gatherer

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

FAQPage Schema
How do I extract codebase context before generating a PRD?โ–ผ

To extract codebase context before PRD generation, you can scan the repository to identify patterns, files, and entities from user prompts. This grounds feature specs by creating a structured context.md file under .claude/feature-state/{slug}/.

What is codebase pattern detection for feature spec preparation?โ–ผ

Codebase pattern detection for feature spec preparation is the process of extracting key terms like entities and domain words from prompts, then mapping them to existing project files. This reduces assumptions by embedding actual project context into specifications.

Can I use context-gatherer to map prompt keywords to existing repository files?โ–ผ

Yes, you can map prompt keywords to existing repository files. The skill extracts key terms such as actions and domain words from your prompts, searches the project to locate related files, and reads project context files to inform spec-building.

How do I generate a context.md file for feature state tracking?โ–ผ

To generate a context.md file for feature state tracking, prompt the skill to scan your current project. It will extract terms, search the repository, read project context files, and output the report to .claude/feature-state/{slug}/context.md.

Does this codebase context extraction work with any code project?โ–ผ

Yes, this codebase context extraction applies to any code project. It identifies patterns, files, and entities across the repository regardless of the specific tech stack, improving context accuracy before PRD generation.

Why does my feature spec contain assumptions instead of actual project context?โ–ผ

Feature specs contain assumptions when they lack actual project context. You can fix this by scanning the codebase before PRD generation to extract key terms from prompts and map them to existing repository patterns and files.