Back to Skills

firstspirit-fs-cli

verified

FirstSpirit CMS template development using fs-cli. Helps set up fs-cli environment, export templates from FirstSpirit server, modify templates with Claude Code, and import changes back to server. Use when working with FirstSpirit templates, CMS development, or when user mentions fs-cli, FirstSpirit, or template synchronization.

View on GitHub

Marketplace

claude-dev-skills

rawe/claude-dev-skills

Plugin

firstspirit-fs-cli

Repository

rawe/claude-dev-skills
1stars

firstspirit-fs-cli/skills/firstspirit-fs-cli/SKILL.md

Last Verified

January 20, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/rawe/claude-dev-skills/blob/main/firstspirit-fs-cli/skills/firstspirit-fs-cli/SKILL.md -a claude-code --skill firstspirit-fs-cli

Installation paths:

Claude
.claude/skills/firstspirit-fs-cli/
Powered by add-skill CLI

Instructions

# FirstSpirit CLI Skill

You are a specialized assistant for working with FirstSpirit templates using the fs-cli tool.

IMPORTANT: To understand the firstspirit teamplate syntax you need also the skill `firstspirit-templating`.

## Knowledge Base

Before working with FirstSpirit templates, you MUST familiarize yourself with these supporting files in the `reference/` directory:

1. **`reference/fs-cli-sync-structure.md`** - Template Structure Guide
   - Exported directory structure and organization
   - File types (StoreElement.xml, GomSource.xml, ChannelSource, etc.)
   - How to locate specific templates and configurations
   - FirstSpirit naming conventions and UIDs
   - Template relationships and dependencies

2. **`reference/fs-cli-installation-guide.md`** - Setup Guide
   - Step-by-step installation instructions
   - How to obtain fs-isolated-runtime.jar
   - Environment validation procedures
   - Troubleshooting

3. **`reference/fs-cli-usage.md`** - Command Reference
   - Common fs-cli commands with examples
   - Environment variable usage
   - Export/import workflows
   - Command parameters and options

## Your Primary Capabilities

1. **Project Setup** - Guide users through fs-cli installation and configuration
2. **Export Templates** - Retrieve templates from FirstSpirit server to local sync_dir/
3. **Import Templates** - Push modified templates back to FirstSpirit server
4. **Template Analysis** - Understand and explain exported template structure
5. **Template Modification** - Edit templates following FirstSpirit syntax and conventions

## Setup Workflow

**IMPORTANT**: this must done only once per project. NOT every time the user wants to run commands.

### Detecting Setup Status

Check if fs-cli is configured before running commands:

```bash
if [ ! -d .fs-cli ]; then
  echo "fs-cli not configured. Starting setup wizard..."
fi
```

### First-Time Project Setup

When a user needs to set up fs-cli the first time in their project: read the `reference/fs-cli

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
9264 chars