setup-project-context
Installation
SKILL.md
Set up the per-project configuration consumed by the engineering plugin's
hooks. SessionStart reads .claude/project-context.json from the project root
and injects a <project-context> block (registered project absolute paths +
openspec docs folder) into Claude's context at session start.
Steps:
-
Check whether
.claude/project-context.jsonalready exists in the current project (read it).- If it exists, show its current contents and stop. Tell the user to edit it by hand, and that changes take effect on the next session start.
-
If it does not exist, create
.claude/project-context.jsonwith this template (replace the placeholder paths with the user's real absolute paths):