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

@@ -26,4 +26,5 @@ Use this structure for the `AGENTS.md` at the root of the current Git working tr
- Keep this file short.
- Treat this file as an instruction document, not a passive index.
- Route to child docs only when they are actually needed.
- When routing to child docs, write repository-relative paths in backticks such as `agent-docs/example.md`, not Markdown links or machine-local absolute filesystem paths.
- Do not turn the root file into a dump of all topic-specific rules.

View File

@@ -31,5 +31,6 @@ Use this structure for Markdown files inside `agent-docs/` when the document's m
- Make the scope explicit.
- Keep the document responsible for one topic.
- Use semantic filenames and headings.
- If the document references repository files, write repository-relative paths in backticks, not Markdown links or machine-local absolute filesystem paths.
- State the user or maintainer decision directly: what to do, what to avoid, and how to choose.
- Prefer linking to inventories, examples, or narrower child docs instead of embedding long registries inline.