Project docs

From event4u-app/agent-config · View interactive version

Project docs is an AI agent skill from the GitHub repository event4u-app/agent-config. Use when looking for project-specific documentation. Knows which docs exist in agents/reference/docs/ and agents/settings/contexts/ and maps work areas to relevant docs.

How to use this skill

Skill file

project-docs

When to use

Use this skill when:

Do NOT use when:

Description

This skill maps work areas to their relevant project documentation. It ensures agents

consult the right docs before making changes — preventing mistakes that come from not

understanding project-specific patterns, legacy conventions, or architectural decisions.

When to Activate

Procedure: Find project documentation

  1. Identify the work area from the user's request.
  2. Look up the relevant docs in the mapping table below.
  3. Read the context first (quick orientation), then the detail docs if needed.
  4. Follow the conventions described in the docs.

Documentation Structure

agents/
├── contexts/          → Quick orientation (read first)
│   ├── *.md           → Technical contexts (multi-tenancy, API versioning, etc.)
│   └── domain/        → Domain/industry knowledge (business logic, terminology)
│       └── job-*.md   → Domain context files (e.g., job-time-tracking.md)
├── docs/              → Deep dives (read when working on the area)
│   └── *.md           → Detailed conventions per topic
├── features/          → Feature plans
├── roadmaps/          → Step-by-step work plans
├── sessions/          → Session tracking
└── overrides/         → Project-specific overrides of .augment/ resources

Domain Contexts

If agents/settings/contexts/domain/ exists, it contains business domain knowledge — industry terms,

regulations, workflows, and edge cases that the agent needs to understand the problem space.

When to read domain contexts:

How to find the right file:

How to Find Relevant Docs

  1. List agents/settings/contexts/ — read any context file whose name matches the work area.
  2. List agents/settings/contexts/domain/ — read domain knowledge files relevant to the business logic.
  3. List agents/reference/docs/ — read detail docs for the specific topic you're working on.
  4. Check module docs — if working in a module, resolve {module_root} from

modules.root_paths and {agent_folder} from modules.agent_folder (see

scripts/_lib/agent_settings.ts::enumerate_modules()), then check:

Reading order

| Step | What | Why |

|---|---|---|

| 1 | agents/settings/contexts/*.md | Quick orientation — big picture in ~100 lines |

| 2 | agents/settings/contexts/domain/job-*.md | Domain knowledge — business terms, rules, edge cases |

| 3 | Module agents/settings/contexts/ | Module-specific contexts (if working in a module) |

| 4 | agents/reference/docs/*.md | Deep dive — code examples, conventions, patterns |

Matching work areas to docs

Match by filename — doc filenames describe their topic. Examples:

Do NOT hardcode a mapping — always list the directory and pick by relevance.

Rules

from standard framework patterns.

deprecates an old one, update the relevant doc in agents/reference/docs/.

Cross-References

| Skill | Relationship |

|---|---|

| agent-docs-writing | When to read/create/update agent docs in general |

| context-create | How to create new context documents |

| module-management | Module-specific docs in module agents/ directories |

Output format

  1. Relevant doc paths and their key content summarized
  2. Recommendation for which docs to read for the current task

Gotcha

Do NOT

Auto-trigger keywords

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.