Artifacts Builder
nexu-io/open-design
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui).
Add project-specific rules and conventions to the configured RULES.md artifact.
$ npx skills add unxed/f4 --skill aif-rules -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install unxed/f4 aif-rules --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/unxed/f4.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/aif-rules .claude/skills/aif-rules && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "aif-rules" agent skill from https://github.com/unxed/f4/tree/main/.agents/skills/aif-rules into .claude/skills/aif-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aif-rules", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/unxed/f4/tree/main/.agents/skills/aif-rulesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add unxed/f4 --skill aif-rules -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install unxed/f4 aif-rules --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/unxed/f4.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/aif-rules .agents/skills/aif-rules && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "aif-rules" agent skill from https://github.com/unxed/f4/tree/main/.agents/skills/aif-rules into .agents/skills/aif-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aif-rules", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add unxed/f4 --skill aif-rules -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install unxed/f4 aif-rules --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/unxed/f4.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/aif-rules .cursor/skills/aif-rules && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "aif-rules" agent skill from https://github.com/unxed/f4/tree/main/.agents/skills/aif-rules into .cursor/skills/aif-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aif-rules", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/unxed/f4.git --path .agents/skills/aif-rules--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add unxed/f4 --skill aif-rules -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install unxed/f4 aif-rules --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/unxed/f4.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/aif-rules .gemini/skills/aif-rules && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "aif-rules" agent skill from https://github.com/unxed/f4/tree/main/.agents/skills/aif-rules into .gemini/skills/aif-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aif-rules", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install unxed/f4 aif-rulesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add unxed/f4 --skill aif-rules -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/unxed/f4.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/aif-rules .github/skills/aif-rules && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "aif-rules" agent skill from https://github.com/unxed/f4/tree/main/.agents/skills/aif-rules into .github/skills/aif-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aif-rules", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add unxed/f4 --skill aif-rules -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install unxed/f4 aif-rules --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/unxed/f4.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/aif-rules .opencode/skills/aif-rules && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "aif-rules" agent skill from https://github.com/unxed/f4/tree/main/.agents/skills/aif-rules into .opencode/skills/aif-rules/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aif-rules", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
aif-rulesAdd project-specific rules and conventions to the configured RULES.md artifact.
Aif Rules is an agent skill from unxed/f4. Add project-specific rules and conventions to the configured RULES.md artifact. Each invocation appends new rules. These rules are automatically loaded by /aif-implement before execution. Use when user says "add rule", "remember this", "convention", or "always do X".
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: dual pane like a charm. The licence is BSD-3-Clause.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e4d719a. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteEditGlobGrepAskUserQuestionQuestionsFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Aif Rules loads about 2.3k tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 947 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from unxed/f4 at commit e4d719a, republished under its BSD-3-Clause licence (© unxed). 947 words, ~2,327 tokens.
.claude/skills/aif-rules/SKILL.md (or your agent's skills folder).Add short, actionable rules and conventions for the current project. Rules are saved to the configured RULES.md artifact (default: .ai-factory/RULES.md) and automatically loaded by /aif-implement before task execution.
AI Factory supports a three-level rules hierarchy:
RULES.md - Axioms (universal project rules)
/aif-rules)rules/base.md - Project-specific base conventions
/aif during project setuprules.<area> - Area-specific conventions
.ai-factory/config.yaml as named keys such as rules.apiPriority: More specific rules win. rules.<area> > rules/base.md > RULES.md
FIRST: Read .ai-factory/config.yaml if it exists to resolve:
paths.rules_file and paths.ruleslanguage.ui for prompts and summaries, language.artifacts for rules artifacts, and language.technical_terms for human-readable technical terminology in rulesIf config.yaml doesn't exist, use defaults:
.ai-factory/RULES.md.ai-factory/rules/ui_language: enartifact_language: entechnical_terms_policy: keepResolved language values:
ui_language = language.ui || "en"artifact_language = language.artifacts || language.ui || "en"technical_terms_policy = language.technical_terms || "keep"If technical_terms_policy is not one of keep, translate, or mixed, treat it as keep. Legacy values such as english also behave like keep.
All AskUserQuestion prompts, progress updates, confirmations, and next-step guidance MUST be written in ui_language.
Generated or updated rules artifacts under paths.rules_file and paths.rules/<area>.md MUST be written in artifact_language.
Templates and examples define structure, not fixed English output. If artifact_language is not en, translate human-readable headings, notes, rule text, labels, and confirmation prose before saving. Preserve markdown structure, paths, commands, config keys such as rules.<area>, area names, code identifiers, package names, API names, and raw errors unchanged. Apply technical_terms_policy to other human-readable terminology.
Read .ai-factory/skill-context/aif-rules/SKILL.md - MANDATORY if the file exists.
This file contains project-specific rules accumulated by /aif-evolve from patches,
codebase conventions, and tech-stack analysis. These rules are tailored to the current project.
How to apply skill-context rules:
Enforcement: After generating any output artifact, verify it against all skill-context rules. If any rule is violated - fix the output before presenting it to the user.
Check $ARGUMENTS:
- Starts with "area:" or "area "? -> Mode C: Area rules
- Has text? -> Mode A: Direct add
- No arguments? -> Mode B: InteractiveUser provided rule text as argument:
/aif-rules Always use DTO classes instead of arraysSkip to Step 2 with the provided text as the rule.
No arguments provided:
/aif-rulesAsk via AskUserQuestion:
What rule or convention would you like to add?
Examples:
- Always use DTO classes instead of arrays for data transfer
- Routes must use kebab-case
- All database queries go through repository classes
- Never use raw SQL, always use the query builder
- Log every external API call with request/responseUser wants to create or update area-specific rules:
/aif-rules area:api
/aif-rules area frontendWorkflow:
Parse area name from argument (e.g., api, frontend, backend, database)
Resolve the area file path inside the configured rules directory.
Default: .ai-factory/rules/<area>.md
Check if area file exists:
Glob: <resolved rules dir>/<area>.mdIf file does NOT exist -> create it with header:
# <Area> Rules
> Area-specific conventions for <area>. Loaded after rules/base.md.
## Rules
- [first rule]If file exists -> ask user what rule to add:
AskUserQuestion: What rule would you like to add to <area>.md?
Current rules in <area>.md:
- [existing rule 1]
- [existing rule 2]
Options:
1. Add new rule - specify below
2. View full file
3. CancelAppend rule using Edit at the end of the ## Rules section.
Register the area in .ai-factory/config.yaml:
rules.<area> points to the resolved area rules file pathconfig.yaml does not exist yet, create a minimal config scaffold using defaults plus the new rules.<area> entryrules.base and any other named rules.<other-area> entriesConfirm:
Rule added to <resolved area rules file> and registered as `rules.<area>` in config.yaml:
- [the rule]
Total <area> rules: [count]STOP after Mode C completes.
paths.rules_file artifact.<resolved rules dir>/<area>.md plus the matching rules.<area> registration in config.yaml.Common areas:
api - REST/GraphQL API conventionsfrontend - UI components, state managementbackend - Services, business logicdatabase - Queries, migrations, schemastesting - Test patterns, coveragesecurity - Auth, validation, sanitizationCheck if the resolved RULES.md path exists:
Glob: <resolved RULES.md path>If file does NOT exist -> create it with the header and first rule:
# Project Rules
> Short, actionable rules and conventions for this project. Loaded automatically by /aif-implement.
## Rules
- [new rule here]If file exists -> read it, then append the new rule at the end of the rules list.
Use Edit to append the new rule as a - list item at the end of the ## Rules section.
Formatting rules:
- lineartifact_language; translate user-provided human-readable rule text when needed so the persisted artifact follows language.artifacts, while preserving stable technical tokens from Step 0.Rule added to <resolved RULES.md path>:
- [the rule]
Total rules: [count]paths.rules_file path (default: .ai-factory/RULES.md)config.yaml as rules.<area>rules.* subset of .ai-factory/config.yaml; other context artifacts stay read-only unless explicitly requested by the user© unxed, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/aif-rules of unxed/f4.
Open the folder on GitHubat commit e4d719a
Aif Rules next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Aif Rules this skillunxed/f4 | 241 | — | ~2.3k | Automated safety check: Pass | BSD-3-Clause | |
| Artifacts Buildernexu-io/open-design | 100k | — | ~347 | Automated safety check: Pass | Apache-2.0 | |
| Web Artifacts Builderanthropics/skills | 180k | 41 repos | ~769 | Automated safety check: Pass | Apache-2.0 | |
| Configure Channelopenclaw/openclaw | 392k | — | ~946 | Automated safety check: Pass | MIT | |
| Web Artifacts Buildernexu-io/open-design | 100k | — | ~337 | Automated safety check: Pass | Apache-2.0 | |
| Ecc Conventionsaffaan-m/ECC | 275k | — | ~2.8k | Automated safety check: Pass | MIT |
nexu-io/open-design
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui).
anthropics/skills
Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.
openclaw/openclaw
Configure and prove a chat channel with non-interactive one-liners; secrets only as SecretRefs.
nexu-io/open-design
Build complex claude.ai HTML artifacts with React and Tailwind.
affaan-m/ECC
Development conventions and patterns for ECC. An agent skill from affaan-m/ECC.
sickn33/agentic-awesome-skills
To build powerful frontend claude.ai artifacts, follow these steps:
unxed/f4
Comprehensive documentation guide for Golang projects, covering godoc comments, README, CONTRIBUTING, CHANGELOG, Go Playground, Example tests, API docs, and llms.txt.
unxed/f4
Golang code style conventions — line length and breaking, variable declarations, control flow clarity, when comments help vs hurt.
unxed/f4
Comprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context…
unxed/f4
Security audit checklist based on OWASP Top 10 and best practices.
unxed/f4
Go (Golang) naming conventions — covers packages, constructors, structs, interfaces, constants, enums, errors, booleans, receivers, getters/setters, functional options, acronyms, test functions, and…
unxed/f4
Golang concurrency design — goroutine lifecycle and leak prevention, channels and select, channel ownership and direction, sync.Mutex/RWMutex/sync.Map/sync.Once/atomics, errgroup, singleflight…
Add project-specific rules and conventions to the configured RULES.md artifact. Aif Rules is an agent skill from unxed/f4.md artifact.
Aif Rules fits situations like: user says add rule.
Run `npx skills add unxed/f4 --skill aif-rules -a claude-code`. Or copy the skill folder (.agents/skills/aif-rules in unxed/f4) into .claude/skills/aif-rules in your project. Claude Code loads it when a task matches its description.
Run `npx skills add unxed/f4 --skill aif-rules -a codex`. Or copy the skill folder (.agents/skills/aif-rules in unxed/f4) into .agents/skills/aif-rules in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add unxed/f4 --skill aif-rules -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/aif-rules, .gemini/skills/aif-rules, .github/skills/aif-rules and .opencode/skills/aif-rules in your project.
SKILL.md names no scripts, command-line tools or credentials: Aif Rules is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Glob, Grep, AskUserQuestion, Questions.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Aif Rules is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Aif Rules: Artifacts Builder (nexu-io/open-design, 100k stars), Web Artifacts Builder (anthropics/skills, 180k stars), Configure Channel (openclaw/openclaw, 392k stars) and Web Artifacts Builder (nexu-io/open-design, 100k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
unxed (a GitHub user) maintains it in unxed/f4, which has 241 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on October 8, 2026.
Source: unxed/f4 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.