Agent skill

context-files-rules

Specifies rules for managing context files, including the master project context and supplementary files, emphasizing stability and change management.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/context-files-rules

SKILL.md

Context Files Rules Skill

  • Master Project Context (projectContext.md):
    • Located in /ProjectDocs/contexts/.
    • Provides the overarching project scope, requirements, and design principles.
    • Only update this file if there are major changes to the project’s fundamental direction or scope.
  • Additional Context Files:
    • Supplementary files (e.g., uiContext.md, featureAContext.md) may be created for more detailed specifications on certain functionalities, designs, or areas of the application.
    • Keep these files stable. Update them only when new, approved changes need to be documented.
    • Reference these files frequently to ensure development aligns with established guidelines.
  • Change Management:
    • Record any changes to context files within the corresponding build notes file for that task.
    • Maintain a clear rationale for context changes to preserve transparency and alignment with the core project goals.

Memory Protocol (MANDATORY)

Before starting:

bash
cat .claude/context/memory/learnings.md

After completing: Record any new patterns or exceptions discovered.

ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.

Didn't find tool you were looking for?

Be as detailed as possible for better results