원클릭으로
bit-rules
Manage enforced rules — list, add, toggle, test patterns. The onboarding skill for rule enforcement.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Manage enforced rules — list, add, toggle, test patterns. The onboarding skill for rule enforcement.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Migrate a project from markdown to .bit. Converts CLAUDE.md, memory files, task lists, and plans to native .bit format. Use when setting up bit-lang in a project for the first time.
Show store health — entity counts, drift status, enforced rules, active tasks. Quick health check for bit-powered projects.
Sync between .bit files and .bitstore. Collapse files into the store or expand the store back to files. Use after editing .bit files or when you need fresh context from the store.
| name | bit-rules |
| description | Manage enforced rules — list, add, toggle, test patterns. The onboarding skill for rule enforcement. |
| user-invocable | true |
| argument-hint | [list|add|toggle|test|remove] |
Manage @Rule entities in the project's .bit store. Parse the argument to determine which subcommand to run. If no argument is given, default to list.
Show all rules with their enforcement status, patterns, and actions.
bit query "@Rule"
Format each rule as:
ID: @Rule:abc123
text: "Always work on dev branch"
enforced: true
scope: global
pattern: git checkout|git switch
action: block
Group by enforcement status — show enforced rules first, then advisory rules.
Ask the user for:
Then write the entity to a .bit file and collapse:
mutate:@Rule
text: "<user's rule text>"!
enforced: <true/false>?
scope: :<scope>!
pattern: "<regex>"
action: :<action>!
Append the entity to CLAUDE.bit (or rules.bit if CLAUDE.bit does not exist). Then collapse:
bit collapse . --output project.bitstore
Verify with:
bit query "@Rule"
Confirm the new rule appears in the output.
Ask the user which rule to toggle (by ID or text match). Then update the enforced field:
bit update @Rule:<id> enforced=true
or
bit update @Rule:<id> enforced=false
If bit update is not available, read the .bit file containing the rule, flip the enforced value manually, and re-collapse.
After toggling, confirm the new state:
bit query "@Rule"
Ask the user for:
Run the regex match and report:
Use a simple inline test — no external tools needed:
echo "<sample>" | grep -P "<pattern>" && echo "MATCH" || echo "NO MATCH"
This helps users validate their patterns before adding them as rules.
Ask the user which rule to remove (by ID or text match).
bit delete @Rule:<id>
If bit delete is not available, read the .bit file containing the rule, remove the mutate:@Rule block, and re-collapse.
After removal, confirm:
bit query "@Rule"
Verify the rule no longer appears.