Add to cart What would you like to add?
× Just this rule Adds only “Use predictable file names.” It stays in sync with fabricahq/public-library, and nothing else from the group is added. The whole TypeScript group Adds this rule and the 19 other TypeScript rules from fabricahq/public-library. New rules the library adds to this group arrive when you update. At checkout, you'll pick which project these go into, and you can fork a rule instead of staying in sync.
trailguide add rule fabricahq/public-library:techs/typescript/use-predictable-file-names Copy
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 techs/typescript/use-predictable-file-names, 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:techs/typescript/use-predictable-file-names
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:techs/typescript/use-predictable-file-names Copy
# 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:techs/typescript/use-predictable-file-names
# 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.