agentleFS
jerelvelardejerelvelarde/chalk-skills/skills/product-context-docs/SKILL.md

product-context-docs

Skill8 starsChanged 9 months agoMITView on GitHub

Create and update in-repo product context documentation in /docs (product profile, features, sitemap, architecture, tech stack). Use when asked to document a product, bootstrap /docs structure, or refresh product/tech context docs for a repo.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 7 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill to create or update product context documentation under /docs in the current repository.

    line 26
  2. Very specific:

    Read existing context first: README.md, docs/ (if present), product briefs, and any architecture or design notes.

    line 31
  3. Distinctive:

    Ask targeted questions only for missing essentials: product name, target users, key jobs-to-be-done, differentiators, primary user flows, …

    line 32
  4. Very specific:

    Ensure the folder structure exists: /docs/product and /docs/tech.

    line 33
  5. Distinctive:

    Create or update the default doc set (see below).

    line 34
  6. Very specific:

    Call out assumptions explicitly and mark placeholders as TODO when information is missing.

    line 36
  7. Distinctive:

    Create or maintain these files as the minimum set:

    line 40
  8. Very specific:

    Add additional docs only when requested or clearly needed (e.g., /docs/product/glossary.md, /docs/tech/security.md).

    line 48
  9. Very specific:

    Use the templates in assets/templates/ as starting points.

    line 52
  10. Distinctive:

    Use Markdown with short sections, tables, and bullet lists.

    line 62
  11. Distinctive:

    Prefer concrete details over generic language.

    line 63
  12. Distinctive:

    Use Mermaid diagrams for architecture when it clarifies flows.

    line 64
  13. Distinctive:

    Keep each doc independently readable.

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Product Context Docs

Overview

Use this skill to create or update product context documentation under /docs in the current repository. Keep the docs accurate, concise, and easy to scan, and preserve existing content when it is already correct.

Workflow

  1. Locate the repo root (use the current working directory unless told otherwise).
  2. Read existing context first: README.md, docs/ (if present), product briefs, and any architecture or design notes.
  3. Ask targeted questions only for missing essentials: product name, target users, key jobs-to-be-done, differentiators, primary user flows, core features, and any technical constraints.
  4. Ensure the folder structure exists: /docs/product and /docs/tech.
  5. Create or update the default doc set (see below). Reuse existing content and update deltas rather than rewriting everything.
  6. Cross-link the docs where helpful (e.g., features to architecture, sitemap to features).
  7. Call out assumptions explicitly and mark placeholders as TODO when information is missing.

Default Doc Set

Create or maintain these files as the minimum set:

  • /docs/product/product-profile.md (product summary, users, value, metrics)
  • /docs/product/product-features.md (feature list, scope, status)
  • /docs/product/sitemap.md (information architecture and core flows)
  • /docs/tech/architecture.md (system overview, components, data flows)
  • /docs/tech/tech-stack.md (languages, frameworks, infra, tooling)

Add additional docs only when requested or clearly needed (e.g., /docs/product/glossary.md, /docs/tech/security.md).

Templates

Use the templates in assets/templates/ as starting points. Copy the closest template into /docs/... and fill it with repo-specific details:

  • assets/templates/product-profile.md
  • assets/templates/product-features.md
  • assets/templates/sitemap.md
  • assets/templates/architecture.md
  • assets/templates/tech-stack.md

Writing Guidelines

  • Use Markdown with short sections, tables, and bullet lists.
  • Prefer concrete details over generic language.
  • Use Mermaid diagrams for architecture when it clarifies flows.
  • Keep each doc independently readable; repeat minimal context where needed.
  • Preserve correct existing content and only change what is outdated or missing.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.