trailguide add rule fabricahq/public-library:practices/documentation/link-todos-and-workarounds
Add this engineering rule to this project with the trailguide CLI (0.13.0 or later). If it has no .trailguide/ directory (or an older .code-rules/ one), install the CLI and run trailguide project init first.
From fabricahq/public-library:
- The rule practices/documentation/link-todos-and-workarounds, without the rest of its group
Run:
# From the root of your project, with trailguide 0.13.0 or later (trailguide --version)
# Only if it doesn't use trailguide yet
command -v trailguide >/dev/null || curl -fsSL https://trailguide.fabricahq.com/install.sh | sh
[ -f .trailguide/config.yaml ] || [ -f .code-rules/config.yaml ] || trailguide project init
# Move the project to trailguide's current configuration, if it isn't already
trailguide project migrate
# Add your engineering rule
trailguide add rule fabricahq/public-library:practices/documentation/link-todos-and-workarounds
Then make sure AGENTS.md tells agents to read .trailguide/RULES.md, or .code-rules/RULES.md if the project keeps its files in .code-rules/. The rule moves to newer versions only when someone runs trailguide project update and confirms.
Paste it into your coding agent.
trailguide add rule fabricahq/public-library:practices/documentation/link-todos-and-workarounds
# From the root of your project, with trailguide 0.13.0 or later (trailguide --version)
# Only if it doesn't use trailguide yet
command -v trailguide >/dev/null || curl -fsSL https://trailguide.fabricahq.com/install.sh | sh
[ -f .trailguide/config.yaml ] || [ -f .code-rules/config.yaml ] || trailguide project init
# Move the project to trailguide's current configuration, if it isn't already
trailguide project migrate
# Add your engineering rule
trailguide add rule fabricahq/public-library:practices/documentation/link-todos-and-workarounds
# Then make sure AGENTS.md tells agents to read .trailguide/RULES.md, or .code-rules/RULES.md if the project keeps its files in .code-rules/
Copies 4 commands to run in your project.