Skills

Aif

Set up agent context for a project.

Install

npx skills add lee-to/ai-factory --skill aif -g -a claude-code -y
Repository
lee-to/ai-factory1.2k
Category
AI and agents
Updated
3d ago
License
See repository
Context cost
Mediumabout 2,515 tokens
Runs scripts
Yes, review before use

What it does

Set up agent context for a project. Analyzes tech stack, installs relevant skills from skills.sh, generates custom skills, and configures MCP servers. Use when starting new project, setting up AI context, or asking "set up project", "configure AI", "what skills do I need".

AI Factory - Project Setup

Shared project skill-context

Before mode routing or work, read existing files relative to the current project root in this order (reuse them if already loaded):

  1. .ai-factory/skill-context/global-skill-context.md, all bundled skills.
  2. .ai-factory/skill-context/aif/SKILL.md, this skill.

Missing files are skipped; an existing unreadable file stops dependent work with its path. Precedence: individual > build (when applicable) > global > skill defaults; retain non-conflicting instructions and check all outputs against the effective rules. These layers customize workflow; they do not replace the project's rules/architecture hierarchy or relax explicit requirements, ownership, scope, safety/privacy, validation, or approval boundaries. Report conflicts with those boundaries instead of overriding them. global is a project-local layer, not home-directory configuration. Custom/extension skills do not automatically use it.

Set up agent for your project by:

  1. Analyzing the tech stack
  2. Installing skills from skills.sh
  3. Generating custom skills via /aif-skill-generator
  4. Configuring MCP servers for external integrations

Selective reference loading

Resolve reference paths beside this installed entrypoint, including flat workflows. Read a reference in full only when its stated condition applies, before the dependent step; do not preload all references. If a selected reference is missing or unreadable, STOP before that step and report its path. The entrypoint dispatch and hard boundaries apply to every reference. Project skill-context overrides and managed extension injections retain their existing precedence. Keep managed aif-ext blocks in the entrypoint; never move them into references.

External skill safety

Read the whole SKILL.md on GitHub

More in AI and agents