docs(bluecraft-agentic-docs): clarify file path reference rules

Add explicit guidance to use repository-relative paths in
backticks when referencing files from `AGENTS.md` and
`agent-docs/`.

Prevent machine-local absolute paths and Markdown links in
these docs so routing instructions stay portable and
consistent.
This commit is contained in:
2026-03-20 19:02:13 +08:00
parent 8d704cf406
commit 98d5818b32
3 changed files with 4 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ Do not use this skill for end-user documentation, product manuals, README conten
- Rules should be actionable, not slogan-like.
- Prefer standard Markdown headings and lists over wrapper tags for structure.
- Write for maintainers. State actions, constraints, and decision criteria directly.
- When referencing repository files from `AGENTS.md` or `agent-docs/`, prefer plain repository-relative paths in backticks such as `agent-docs/example.md`, not Markdown links.
- Do not embed machine-local absolute filesystem paths such as `/home/...`.
- Do not mix general agentic-documentation rules with project-specific business rules, product instructions, media planning, or end-user documentation guidance in the same general-purpose file.
- Treat the `AGENTS.md` at the root of the current Git working tree as the primary routing entrypoint.
- Keep common, repository-wide constraints in that root `AGENTS.md`.