Skip to content

Migrating from v1.1 to v1.2

This guide is for existing Fare users upgrading from v1.1. New users: start with Understanding the output.

What changed

v1.1 wrote a .ai/ canonical directory to your project on every run — the CLI then copied content from .ai/ into adapter-specific files. This intermediate directory cluttered projects with files that no IDE natively reads.

v1.2 removes .ai/ entirely. Rules, lifecycle files, and agent instructions are rendered in memory and written directly to each IDE's native paths. You see only the files your selected IDE actually reads.

Before (v1.1)

text
my-project/
├── .ai/
│   ├── AGENT.md
│   ├── lifecycle/    ← 7 stage files
│   ├── rules/        ← 16 rule files
│   ├── skills/       ← standalone skill files
│   ├── context/
│   └── tracking/
├── .cursor/          ← adapter files (sourced from .ai/)
└── CLAUDE.md         ← adapter file (sourced from .ai/)

After (v1.2)

text
my-project/
├── .cursor/rules/         ← 13 rule files, written directly
├── .cursor/skills/        ← 7 lifecycle stage files, written directly
├── CLAUDE.md              ← pointer index, written directly
├── .claude/rules/         ← 13 rule files
├── .claude/commands/      ← 7 lifecycle commands
└── .github/copilot-instructions.md   ← all merged, written directly

Complete output path table (v1.2)

AdapterRulesLifecycle
Cursor.cursor/rules/<rule>.mdc (13 files) + .cursor/rules/index.mdc.cursor/skills/<stage>/SKILL.md (7 files)
Claude Code.claude/rules/<rule>.md (13 files) + CLAUDE.md pointer index.claude/commands/<stage>.md (7 files)
VS Code Copilot.github/copilot-instructions.md (all rules merged)Same file — ## Lifecycle: <Stage> sections
Windsurf.windsurf/rules/<rule>.md (13 files) + .windsurfrules.windsurf/rules/lifecycle-<stage>.md (7 files)
AntigravityNot supported.agents/workflows/<stage>.md (7 files)

Write mode on re-run

Re-running the CLI on an existing project backs up your existing adapter files by default:

bash
fare --output ./my-project                          # backs up to <file>.fare-backup
fare --output ./my-project --write-mode overwrite   # overwrites without backup
fare --output ./my-project --write-mode skip-existing  # skips existing files

Manual cleanup

After confirming v1.2 output is correct for your project:

bash
rm -rf .ai/

The .ai/ directory is no longer written by v1.2 — it is safe to delete. Your IDE adapter files are now the source of truth.


Fare rule changes (v1.1 → v1.2)

Three rule pairs were folded and one was renamed. Content from the folded rules is preserved and expanded in the merged file.

v1.1 rulesv1.2 ruleChange
styling.md + accessibility.mdstyling-accessibility.mdFold
state-management.md + data-fetching.mdstate-and-data-fetching.mdFold
performance.md + testing.mdperformance-and-testing.mdFold
component-patterns.mdcomponents.mdRename

Standalone skills (plan-review, code-review, qa, ship, and others) are no longer generated. The 7 lifecycle stages (Think → Reflect) cover the same workflow phases and are invoked directly from your IDE — see Lifecycle in practice.


FAQ

Why is .ai/ no longer generated?

.ai/ was an internal intermediate artifact that no IDE natively reads. v1.2 generates files directly in the paths your IDE expects, eliminating the intermediate step and the clutter.

Where do my rules live now?

In your IDE's native location — see the output path table above. For Cursor: .cursor/rules/<rule>.mdc. For Claude Code: .claude/rules/<rule>.md. For VS Code Copilot: .github/copilot-instructions.md. For Windsurf: .windsurf/rules/<rule>.md.

Can I revert to v1.1 output?

Yes — install the previous version: npm install -g frontend-ai-starter-recipes@1.1.0. v1.1 docs are available via the version switcher in the nav.

What happened to standalone skills?

Standalone skills (plan-review, code-review, etc.) are no longer generated. The 7 lifecycle stages (Think → Reflect) cover the same workflow phases and are invoked directly from your IDE — see Lifecycle in practice.

Released under the MIT License.