context

Guide users through structured Q&A and write product context to docs/context.md.

2|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/hferello/ai --skill context-hferello
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context
Source: https://github.com/hferello/ai/tree/main/context
Command: npx skills add https://github.com/hferello/ai --skill context-hferello

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Captures product context for AI agents by guiding users through eight direct questions and writing results to docs/context.md.

Core Features & Use Cases

  • Guided Q&A to assemble a single, shareable context document.
  • Writes updates to docs/context.md incrementally after each answer and supports resuming after interruption.
  • Per-repo guardrails via a project rule at .cursor/rules/context.mdc to keep agents aligned with project scope.

Quick Start

Start a /context session in Cursor to begin capturing context and generate docs/context.md for your repository.

Frequently Asked Questions about context

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

FAQPage Schema
How do I capture product context for AI agents in my repository?

To capture product context for AI agents, you can run a guided Q&A session that asks structured questions and incrementally writes the answers to docs/context.md within your repository.

What is the best way to align AI agents with my project scope and guardrails?

Aligning AI agents with project scope requires generating a shared context document and applying per-repo guardrails via a project rule stored at .cursor/rules/context.mdc.

Can I resume a product context Q&A session if it gets interrupted?

Yes, you can resume an interrupted product context Q&A session because the tool writes updates to docs/context.md incrementally after each answer, preserving your progress.

How does a structured context document improve AI workflow documentation?

Structured context documents improve AI workflow documentation by providing a single, shareable source of truth in docs/context.md that guides agents without guessing.

Do I need a SKILL.md file to generate context documentation for my repo?

Yes, generating context documentation requires a SKILL.md file containing frontmatter with a name and description to properly configure the session.