Artifact Creation Skill
Guide the creation of artifacts from patterns, ensuring proper structure, cross-referencing, and documentation.
When to Use
- •Use when creating artifacts from extracted patterns
- •Use when converting patterns to reusable artifacts
- •Use when setting up new artifacts with proper structure
- •Use when ensuring artifacts follow standards
Instructions
Creation Process
- •Select template: Choose appropriate template (rule/skill/command/subagent)
- •Determine type: Confirm artifact type is correct
- •Create structure: Use template to create proper structure
- •Add content: Fill in pattern-specific content
- •Add cross-references: Link to related artifacts
- •Update documentation: Add to relevant documentation
- •Validate: Verify artifact follows standards
Template Usage
For Rules
- •Use
.cursor/templates/rule-template.md - •Include proper frontmatter (description, alwaysApply, globs)
- •Follow rule structure and formatting
- •Add cross-references section
For Skills
When creating a skill, you MUST use the skill-creator skill first. Follow its guidance for SKILL.md anatomy, frontmatter (name, description), progressive disclosure, and when to add scripts/references/assets. Then use .cursor/templates/skill-template.md for this repo’s structure and cross-references.
- •Create folder structure:
skill-name/SKILL.md - •Apply skill-creator before filling content
For Commands
- •Use
.cursor/templates/command-template.md - •Create markdown file with command structure
- •Include Overview, Steps, Checklist sections
- •Add cross-references section
For Subagents
- •Use
.cursor/templates/subagent-template.md - •Create markdown file with frontmatter
- •Include proper configuration (model, readonly, is_background)
- •Write clear, focused prompt
Structure Validation
Ensure artifacts have:
- •Proper frontmatter/metadata
- •Clear structure and organization
- •Appropriate sections for type
- •Cross-references to related artifacts
- •Examples where helpful
Cross-Reference Addition
When creating artifacts:
- •Identify related artifacts: Find rules, skills, commands, subagents that relate
- •Add forward references: Include in new artifact
- •Add backward references: Update related artifacts
- •Link to documentation: Add documentation links
Documentation Updates
When creating artifacts:
- •Update category docs: Add to category documentation if applicable
- •Update master index: Add to master artifact index
- •Update usage guides: Add to relevant usage documentation
- •Update examples: Add to example sections
Examples
Example 1: Creating a Rule
Pattern: TypeScript strict mode preference
Creation:
- •Use rule template
- •Create
.cursor/rules/organization/typescript-strict-mode.mdc - •Add frontmatter with description
- •Add guidelines for TypeScript strict mode
- •Add cross-references to TypeScript-related artifacts
- •Update organization documentation
Example 2: Creating a Command
Pattern: Code review checklist workflow
Creation:
- •Use command template
- •Create
.cursor/commands/meta/code-review-checklist.md - •Add overview and steps
- •Add checklist items
- •Add cross-references to review-related artifacts
- •Update commands documentation
Best Practices
- •Always use templates for consistency
- •Follow naming and organization standards
- •Add cross-references from the start
- •Update documentation immediately
- •Validate structure before finalizing
- •Test artifacts after creation
Related Artifacts
- •Skill Creator – Use when creating skills (anatomy, frontmatter, progressive disclosure)
- •Artifact Creation Rule
- •Organization Rule
- •Cross-Referencing Rule
- •Create Artifact Command
- •Artifact Creator Subagent
- •Templates