Interactive Lutece 8 site generator. Creates a site with database configuration and optional plugin dependencies.
View on GitHubskills/lutece-site/SKILL.md
February 5, 2026
Select agents to install to:
npx add-skill https://github.com/lutece-platform/lutece-dev-plugin-claude/blob/main/skills/lutece-site/SKILL.md -a claude-code --skill lutece-siteInstallation paths:
.claude/skills/lutece-site/# Lutece 8 Site Generator
Generate a Lutece 8 site through interactive questioning. A site is the deployable application that assembles lutece-core and plugins.
## Process Overview
```
Phase 1: Site Info → Name, description, output directory
Phase 2: Database → MySQL credentials (mandatory confirmation)
Phase 3: Plugins → Plugin/module dependencies (optional)
Phase 3b: Compatibility → Verify Lutece 8 compatibility via GitHub
Phase 4: Generation → Execute script, generate site
```
## Phase 1: Site Info
Ask one question at a time:
1. Site name? (lowercase with hyphens, e.g., "site-taskmanager")
2. Site description? (e.g., "Test site for the taskmanager plugin")
3. Output directory? (where to generate)
## Phase 2: Database
**Display the default credentials table and ask for confirmation:**
```
Database configuration for the site:
| Parameter | Value |
|-----------|--------|
| Host | localhost |
| Port | 3306 |
| Database | lutece_{siteName} (hyphens → underscores) |
| User | root |
| Password | ??? |
Are these values correct? (yes/no or specify changes)
```
**IMPORTANT:**
- ALWAYS display this table BEFORE generating
- WAIT for explicit user confirmation
- If the user says "no" or specifies changes, update the values
- NEVER generate without credentials confirmation
## Phase 3: Plugins (optional)
- "Do you want to add plugins to the site?"
- If **no**: bare site (lutece-core only)
- If **yes**: the user can provide plugins in any format:
### Input formats
The user can give a plugin name at any level of precision:
| User input | Action |
|------------|--------|
| `forms` | **Search** GitHub for repos matching "forms", present results, let user pick |
| `plugin-forms` | Direct artifactId, apply smart defaults |
| `plugin-forms:4.0.0-SNAPSHOT` | ArtifactId with explicit version |
| `fr.paris.lutece.plugins:plugin-forms:[4.0.0-SNAPSHOT,):lutece-plugin` | Full Maven coordinates |
### Search by keyword
When the us