BuildRule
Create, validate, or place behavioral rules in forge modules.
Skill by N4M3Z
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/n4m3z-buildrule
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/buildrule
What's inside
- Skill name
BuildRule- Description
- Create, validate, or place behavioral rules in forge modules. USE WHEN create rule, new rule, write rule, capture rule, add a rule, graduate a correction or convention to a rule, validate rule, rule conventions, where does this rule belong, or the user runs /Rule.
- License
- EUPL-1.2
- Instructions
- 49 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
Files (1)
- SKILL.md
SKILL.md (first lines)
# BuildRule Author, place, and validate the small always-in-context instruction files that steer every session. A rule is the durable form of a correction: when the user says "always do X" or "never do Y again", it becomes a rule, not a memory. ## Rule Conventions ### Shape A rule is a single `.md` file in the owning module's `rules/` directory. One file, one behavior — when something goes wrong, the filename names the rule that caused it. The only valid subdirectories are locale (`rules/cs-CZ/`), harness and model qualifiers (`rules/claude/`, `rules/claude/claude-opus-4-6/`), and gitignored `user/` overrides; resolution precedence is in PROV-0005. ### Naming PascalCase, scope + focus, self-explanatory in English: `PreferTrash`, `VerifyClaims`, `NoEmDash`. No spaces, hyphens, or opaque acronyms. The filename is the rule's identity in every error report. ### Frontmatter Optional. When present: `name`, `version`, `description`, `targets` (harness filter), `mode` (`replace` | `append` | `prepend`, qualifier variants only). Assembly strips frontmatter at deploy — never put load-bearing content there. ### Body Concise, actionable prose stating the current truth (PresentTense; no backstory). A wrong/right example pair beats three paragraphs of explanation. No headings needed; max depth 3 if used. Cite sources for factual claims (CiteSources). **Every word costs tokens on every interaction** — rules are always in context. If the model already does it unprompted, the rule belongs in a model qualifier directory or nowhere (see OptimizeContext). If it needs more than ~20 lines, it is probably a skill, not a rule. ### Placement Rules are authored in the owning module's `rules/`, never directly in `~/.claude/` (AuthorInModules — deployed files get overwritten on install). Route by subject: version-control behavior → the module owning VersionControl; vault conventions → forge-obsidian; no clear owner → forge-steering. Prefer folding a new constraint into an existing rule on the same subject over creating a near-duplicate file (LessIsMore). ## Create Workflow 1. **Distill the behavior** — one sentence stating what must (or must never) happen, generalized beyond the incident that prompted it. Include the why only when the rule is not self-evident. 2. **Find the owner** — `grep -l <topic> */rules/*.md` across modules; extend an existing rule if one covers the subject. 3. **Write the file** following the conventions above. 4. **Deploy** — `make install` from the module (or mirror the edit into the deployed `~/.claude/rules/` copy for immediate effect in the current session). 5. **Land it** — commit in the module repo per its VCS flow; rules ride normal PRs. ## Validate Workflow - [ ] Single `.md` file in `rules/` (or a valid qualifier subdirectory) - [ ] PascalCase filename naming the behavior - [ ] One behavior; no bundled unrelated constraints - [ ] Body is present-tense instruction, no narration of what changed - [ ] Short enough to justify its permanent token cost - [ ] Not a duplicate — no existing rule covers the same subject - [ ] Factual claims carry sources Report **COMPLIANT** or **NON-COMPLIANT** with specific fixes.
From N4M3Z/forge-core, EUPL-1.2.
More from N4M3Z/forge-core
- 0.520score
LocalModel
N4M3Z
Run prompts against a local LLM backend (LM Studio, Ollama, or MLX) with privacy-preserving output guardrails — drop reasoning_content, enforce structured…
SkillCFreshness: C★ 4Claude Code +9 - 0.520score
ForgeSkill
N4M3Z
Create, validate, evaluate, and iterate skills for forge modules.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
Brainstorming
N4M3Z
Collaborative ideation before implementation — explore context, clarify intent, propose approaches.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
BuildAgent
N4M3Z
Create, validate, or audit agent definitions.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
BuildHook
N4M3Z
Create and validate module hooks.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
BuildModule
N4M3Z
Design, build, and validate forge modules.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
BuildPlugin
N4M3Z
Create, validate, and publish Claude Code plugins from forge modules.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
BuildSkill
N4M3Z
Create and validate skills for forge modules.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
DesignFrontend
N4M3Z
Build distinctive, production-grade frontend interfaces that avoid generic AI aesthetics.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
DesignSpec
N4M3Z
Write a formal design spec from brainstorming output or requirements.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
ExecutePlan
N4M3Z
Execute an implementation plan inline — task by task in a single session — then finish the work: verify, present integration options (merge, PR, keep…
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
GuardRails
N4M3Z
Safety guardrails: runtime overrides for AI-safety plugin blocks, and per-language security review for python, javascript/typescript, and go.
SkillCFreshness: C★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 3
- Open issues
- 8
- Last commit (this folder)
- Jul 13, 2026 (3 months ago)
- Last release
- Apr 16, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- EUPL-1.2
- Repository
- github.com/N4M3Z/forge-core
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from N4M3Z
- 0.520score
LocalModel
N4M3Z
Run prompts against a local LLM backend (LM Studio, Ollama, or MLX) with privacy-preserving output guardrails — drop reasoning_content, enforce structured…
SkillCFreshness: C★ 4Claude Code +9 - 0.520score
ForgeSkill
N4M3Z
Create, validate, evaluate, and iterate skills for forge modules.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
HtmlPlayground
N4M3Z
Generate single-file HTML demos comparing techniques side-by-side.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
BuildAgent
N4M3Z
Create, validate, or audit agent definitions.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
BuildHook
N4M3Z
Create and validate module hooks.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
Brainstorming
N4M3Z
Collaborative ideation before implementation — explore context, clarify intent, propose approaches.
SkillCFreshness: C★ 4Claude Code +9
Cite this page
BuildRule skill. Agent Mart. https://agentmart.dev/skills/n4m3z-buildrule (last updated 2026-10-24)