You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The commit db1be8f ("refactor(skills): make cross-artifact references portable") added a ## Referencing Other Artifacts section to .github/instructions/hve-core/hve-builder.instructions.md and a ## Path Portability section to docs/contributing/skills.md. However, the equivalent contributing guides for agents and prompts were not updated with this guidance.
Neither docs/contributing/custom-agents.md nor docs/contributing/prompts.md documents the new cross-artifact reference rules:
Refer to a skill, agent, subagent, or prompt by the name: value from its frontmatter, not by a hard-coded path.
Refer to an instruction file by its full <name>.instructions.md filename.
Reserve file paths for a skill's own bundled resources (relative to skill root only).
Never hard-code a skill's SKILL.md path or a cross-skill directory path.
Use #file: only when the prompt must pull in another file's full contents.
Expected Behavior:
docs/contributing/custom-agents.md and docs/contributing/prompts.md should each have a section (equivalent to docs/contributing/skills.md § Path Portability) documenting these cross-artifact reference portability rules so authors of agents and prompts receive the same guidance as skill authors.
Component: Documentation
Bug Description:
The commit
db1be8f("refactor(skills): make cross-artifact references portable") added a## Referencing Other Artifactssection to.github/instructions/hve-core/hve-builder.instructions.mdand a## Path Portabilitysection todocs/contributing/skills.md. However, the equivalent contributing guides for agents and prompts were not updated with this guidance.Neither
docs/contributing/custom-agents.mdnordocs/contributing/prompts.mddocuments the new cross-artifact reference rules:name:value from its frontmatter, not by a hard-coded path.<name>.instructions.mdfilename.SKILL.mdpath or a cross-skill directory path.#file:only when the prompt must pull in another file's full contents.Expected Behavior:
docs/contributing/custom-agents.mdanddocs/contributing/prompts.mdshould each have a section (equivalent todocs/contributing/skills.md§ Path Portability) documenting these cross-artifact reference portability rules so authors of agents and prompts receive the same guidance as skill authors.Steps to Reproduce:
Introduced by PR #2599 / commit
db1be8f.Additional Context:
.github/instructions/hve-core/hve-builder.instructions.md§ "Referencing Other Artifacts" (lines ~194–211)docs/contributing/skills.md§ "Path Portability" (line ~513)docs/contributing/custom-agents.md— no portability or cross-artifact reference sectiondocs/contributing/prompts.md— no portability or cross-artifact reference section