mattrguerra/meridian-skillsmainPrivate on GitHub, published here in full

CLAUDE-scope.md.tmpl

1.8 KB64 lines

skills/cowork-project-architect/templates/CLAUDE-scope.md.tmpl

  1. ---
  2. type: claude-instructions
  3. scope: [SUBDIRECTORY-NAME]
  4. tags:
  5. - claude
  6. - meta
  7. - scoped
  8. created: [YYYY-MM-DD]
  9. updated: [YYYY-MM-DD]
  10. aliases:
  11. - [SUBDIRECTORY] Instructions
  12. ---
  13. <!--
  14. CLAUDE-[scope].md: Subdirectory-scoped Claude instructions.
  15. Generate one of these ONLY when:
  16. - The subdirectory has operational rules distinct from root CLAUDE.md
  17. - Granular instructions would clutter root CLAUDE.md
  18. - A specific data type or workflow lives in this folder
  19. When this file exists, root CLAUDE.md MUST log it under "Subdirectory
  20. reference files" with a wikilink and one-line trigger condition.
  21. Scope: Everything in this file applies ONLY to work happening in or with
  22. files inside [SUBDIRECTORY-NAME]/. Root CLAUDE.md still applies to
  23. everything else.
  24. -->
  25. # [SUBDIRECTORY-NAME]: Scoped Claude Instructions
  26. ## Scope
  27. These instructions apply ONLY when working with files in `[SUBDIRECTORY-NAME]/`. For everything else, see [[CLAUDE]] at the vault root.
  28. ## Why this file exists
  29. [2-3 sentences. What's special about this subdirectory that warrants its own scoped instructions. If this isn't clear, the file probably shouldn't exist.]
  30. ## Operational rules in this scope
  31. <!-- Rules that ADD TO or OVERRIDE root CLAUDE.md when working in this directory. -->
  32. - [Rule]
  33. - [Rule]
  34. - [Rule]
  35. ## File and naming conventions in this scope
  36. [How files in this subdirectory are organized, named, and structured. Any required frontmatter fields beyond the project default.]
  37. ## Output requirements in this scope
  38. [If outputs from this subdirectory have a specific format or destination, document it here.]
  39. ## Cross-references
  40. - Root instructions: [[CLAUDE]]
  41. - Project memory: [[MEMORY]]
  42. - [Any other relevant references]
  43. ## What this scope is NOT for
  44. [Out-of-scope work that should be redirected to a different subdirectory or to root.]