xfi-create-archetype

Scaffold X-Fidelity archetype JSON configurations with validation and local testing workflows.

1|1|Updated Dec 20, 2023
One-click install
npx skills add https://github.com/zotoio/x-fidelity --skill xfi-create-archetype
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xfi-create-archetype
Source: https://github.com/zotoio/x-fidelity/tree/main/.cursor/skills/xfi-create-archetype
Command: npx skills add https://github.com/zotoio/x-fidelity --skill xfi-create-archetype

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Solves the problem of inconsistent archetype creation by providing a clear scaffold for X-Fidelity archetype configurations.

Core Features & Use Cases

  • Archetype Template Definition: describes where to place the main archetype JSON and exemptions files.
  • Validation & Testing Guidance: outlines steps to test the archetype locally before deployment.
  • Example Archetypes: references common templates like node-fullstack and java-microservice to illustrate usage.

Quick Start

Define the archetype purpose, create the archetype JSON, select rules, configure dependencies, and test the archetype locally.

Frequently Asked Questions about xfi-create-archetype

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an X-Fidelity archetype configuration?

An X-Fidelity archetype configuration is a structured JSON file that defines validation rules, exemptions, and dependencies to enforce consistency across specific project types like node-fullstack or java-microservice.

How do I test an archetype locally before deployment?

To test an archetype locally before deployment, follow the validation and testing guidance to run configuration checks against your main files and directories, ensuring the archetype rules apply correctly to your target project structure.

Where should I place the main archetype JSON and exemptions files?

The archetype template definition specifies exactly where to place the main archetype JSON and exemptions files within your project directory structure, ensuring the validation workflows can locate and apply them correctly.

Can I use archetype configurations across different programming languages?

Yes, archetype configurations are applicable to projects across multiple languages, providing scaffolding for diverse templates like node-fullstack and java-microservice while enforcing consistent directory and configuration checks.

What is the best way to structure exemptions in an archetype configuration?

The best way to structure exemptions is to define them alongside the main archetype JSON, specifying targeted rule overrides that allow specific files or directories to bypass validation checks without breaking overall project consistency.