Awesome-omni-skill asset-forge
Creates new skills, rules, and MCPs for ai-driven-dev-system or project-specific use. Use when user requests a new reusable component, wants to add coding standards, needs to document a workflow, or asks to create a skill or rule.
git clone https://github.com/diegosouzapw/awesome-omni-skill
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data-ai/asset-forge" ~/.claude/skills/diegosouzapw-awesome-omni-skill-asset-forge && rm -rf "$T"
skills/data-ai/asset-forge/SKILL.mdAsset Forge
Creates assets following system standards. Works for both global (ai-driven-dev-system) and project-specific assets.
Before Creating: Gather Requirements
1. First: Infer from Context
ALWAYS try to infer information from:
- Current conversation history
- User's recent corrections or feedback
- Open files and code context
- Previous agent responses
2. Only Ask if Missing
If you cannot infer the following, then ask:
- Asset type: skill, rule, or MCP?
- Purpose: What should this asset do?
- Scope: Always apply, or file-specific? (for rules)
Principle: The user's time is valuable. Extract maximum info from context before asking questions.
Deciding Where to Create
Decision Flow
-
Is this reusable across multiple projects?
- YES → Create in ai-driven-dev-system (global) via PR
- NO → Create in current project's
.cursor/
-
Is this specific to this codebase?
- YES → Create in project's
or.cursor/skills/.cursor/rules/ - NO → Create in global system
- YES → Create in project's
Location Summary
| Scope | Skills | Rules |
|---|---|---|
| Global | | |
| Project | | |
Note: Global assets require PR workflow (use system-gardener). Project assets can be committed directly.
Creating Skills
Directory Structure
skills/[skill-name]/ ├── SKILL.md # Required ├── reference.md # Optional - detailed docs ├── scripts/ # Optional - utilities └── tests/ # Required - validation and unit tests
SKILL.md Template
--- name: skill-name description: Third-person description. Include WHAT it does and WHEN to use it. --- # Skill Title Brief overview. ## Before You Begin Prerequisites or requirements. ## Instructions Step-by-step guidance. ## Examples Concrete examples with input/output. ## Checklist - [ ] Verification items
Frontmatter Rules
: max 64 chars, lowercase, hyphens only (e.g.,name
)code-review
: max 1024 chars, third person, include trigger termsdescription
Description Best Practices
Write in third person (injected into system prompt):
- ✅ "Reviews code for quality and security issues. Use when..."
- ❌ "I can help you review code"
Include both WHAT and WHEN:
- WHAT: Specific capabilities
- WHEN: Trigger scenarios
Testing Requirements
- Create
directory.tests/ - Create
using[skill-name].test.ts
.assets/test.template.ts - If
exist: Add dedicated unit tests for logic.scripts/ - Run
to verify compliance.pnpm test
Creating Rules
Rule File Format
--- description: What the rule does globs: **/*.ts alwaysApply: false --- # Rule Title Guidelines and examples. ## Correct \`\`\`typescript // ✅ GOOD example \`\`\` ## Incorrect \`\`\`typescript // ❌ BAD example \`\`\`
Frontmatter Fields
| Field | Type | Description |
|---|---|---|
| string | Shown in rule picker |
| string | File pattern for activation |
| boolean | If true, always active |
Configuration Options
→ Universal, applies to every sessionalwaysApply: true
→ Applies when matching files are openglobs: "**/*.ts"
Core Principles
- Concise: Under 500 lines, only add what agent doesn't know.
- Progressive disclosure: Essential in main file, details in references.
- Agent Best Practice: Use
(ornpx tsx scripts/extract-frontmatter.ts
) to inspect skills before reading full files.pnpm tsx ...
- Agent Best Practice: Use
- Concrete examples: Show don't tell.
- One concern per asset: Split large topics.
CRITICAL: Git Protocol for Global Assets
When creating assets in ai-driven-dev-system:
- NEVER create directly - Use system-gardener skill
- Create in feature branch
- Submit PR for review
- Wait for human approval
For project assets, commit directly to project repo.
Checklist Before Creating
- Determined scope (global vs project)
- Correct location and format
- Description is specific with trigger terms
- Content under 500 lines
- Includes concrete examples
- Created unit tests in tests/
- Verified with pnpm test
- If global: using PR workflow