Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Discovers, validates, and resolves rule specifications in the rules/ directory, and syncs private rule symlinks.
18% 91%+73 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 4 of 22 without it.
We want to configure our CI pipeline to override the default filesystem path used to locate private rules when executing link synchronization. Which environment variable should we set?
Identifies TEMPLATE_RULES_ROOT as the environment variable for overriding private rules root
This test ran on v1. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Discovery, validation, scope, and sidecar symlink sync for the rules/
workspace — soft guidelines (markdown, prompt-style) and strong formal
constraints (yaml/json), distinct from projects/ (executable code) and
fonds/ (data resource pools).
| File | Exports |
|---|---|
__init__.py | RuleInfo, build_rule_info, discover_rules, resolve_rule_root, validate_rule_structure |
discovery.py | discover_rules, resolve_rule_root, NON_RENDERED_RULE_SUBDIRS, RENDERED_RULE_SUBDIRS |
rules_info.py | RuleInfo, build_rule_info |
validation.py | validate_rule_structure |
public_scope.py | PUBLIC_RULE_NAMES, public_rule_infos, public_rule_names |
linking.py | sync_private_rule_links, private_rules_root, is_managed_symlink, LIFECYCLE_LINK_DIRS, LinkSyncResult |
from pathlib import Path
from infrastructure.rules import discover_rules, resolve_rule_root, validate_rule_structure, RuleInfo
# Discover all valid rules (skips working/, archive/)
rules: list[RuleInfo] = discover_rules(Path("."))
for r in rules:
print(r.qualified_name, r.rule_type, r.is_valid)
# Resolve by name
path = resolve_rule_root(Path("."), "templates/template_project_rules")
path = resolve_rule_root(Path("."), "template_project_rules") # bare name
# Validate structure (requires rules.yaml + soft/ or strong/)
is_valid, message = validate_rule_structure(Path("rules/templates/template_project_rules"))
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.