1.4 KiB
1.4 KiB
| name | description | category |
|---|---|---|
| project-context | Establish how the AI should fetch, create, and interact with a project's individual ai-context.md file. Use when setting up a new project or looking for project repo context. | meta |
🏷️ Category:
Meta-Skill| ⚙️ Applies to: AI Internal Operations & Context Discovery
Project Context Instructions
🎯 Purpose
Define how the AI should locate and utilize project-specific context files (ai-context.md and architecture.md) instead of hallucinating project configurations.
🚨 Prohibitions
- NEVER assume project architecture or technical decisions without checking the context files.
- NEVER put project-specific context inside the global
.ai/superpower directory. - NEVER create
ai-context.mdwithout asking the user first. If it is missing, propose the template. - NEVER create a new
docs/folder ifdocumentation/ordoc/already exists. Use the existing standard folder.
Workflows
1. Finding Context
When starting work in a new project, silently check these paths in order:
docs/ai-context.md(andarchitecture.md)documentation/ai-context.mddoc/ai-context.md
2. Creating Missing Context
If no context file exists, state: "This project does not have an ai-context.md file. Would you like me to create a template?"
If the user agrees, generate the file using the exact template in REFERENCE.md.