Remote management for clemencefouquet.fr on Hostinger VPS. Covers site architecture, WP-CLI commands, and image uploads via Docker.
Manages WordPress site on Hostinger VPS via Docker and WP-CLI commands.
/plugin marketplace add theflysurfer/claude-skills-marketplace/plugin install theflysurfer-claude-skills-marketplace@theflysurfer/claude-skills-marketplaceThis skill is limited to using the following tools:
references/image-upload.mdreferences/wpcli-commands.mdRemote management for the Clémence Fouquet WordPress site on Hostinger VPS via Docker.
| Section | Purpose |
|---|---|
| Infrastructure | Server details |
| WP-CLI | Common commands |
| Image Upload | Upload workflow |
Resources: wpcli-commands.md | image-upload.md
| Component | Value |
|---|---|
| Site | https://clemencefouquet.fr |
| Hosting | Hostinger VPS |
| IP | 69.62.108.82 |
| SSH Host | srv759970 |
| Container | wordpress-clemence |
| SSH User | automation |
| Page | Slug | Template |
|---|---|---|
| Accueil | / | page-accueil.html |
| Services | /services | page.html |
| À propos | /a-propos | page.html |
| Contact | /contact | page.html |
| Mentions légales | /mentions-legales | page.html |
clemence-theme/
├── style.css, functions.php, theme.json
├── templates/ # index.html, page.html, page-accueil.html
├── parts/ # header.html, footer.html
├── patterns/ # Block patterns
└── assets/ # css/, js/, svg/
SSH_HOST="srv759970"
CONTAINER="wordpress-clemence"
ssh $SSH_HOST "docker exec $CONTAINER wp <command> --allow-root"
# Pages
ssh $SSH_HOST "docker exec $CONTAINER wp post list --post_type=page --allow-root"
ssh $SSH_HOST "docker exec $CONTAINER wp post create --post_type=page --post_title='New' --post_status=publish --allow-root"
# Options
ssh $SSH_HOST "docker exec $CONTAINER wp option get siteurl --allow-root"
# Cache
ssh $SSH_HOST "docker exec $CONTAINER wp cache flush --allow-root"
# Plugins
ssh $SSH_HOST "docker exec $CONTAINER wp plugin update --all --allow-root"
# DB
ssh $SSH_HOST "docker exec $CONTAINER wp db export - --allow-root" > backup.sql
Commandes complètes: references/wpcli-commands.md
# 1. Upload
scp "./image.png" automation@69.62.108.82:/tmp/image.png
# 2. Copy with permissions
ssh automation@69.62.108.82 "
YEAR=\$(date +%Y) && MONTH=\$(date +%m) && \
docker exec wordpress-clemence mkdir -p /var/www/html/wp-content/uploads/\$YEAR/\$MONTH && \
docker cp /tmp/image.png wordpress-clemence:/var/www/html/wp-content/uploads/\$YEAR/\$MONTH/ && \
docker exec -u root wordpress-clemence chown www-data:www-data /var/www/html/wp-content/uploads/\$YEAR/\$MONTH/image.png
"
IMPORTANT: Utiliser -u root pour chown.
| Extension | MIME Type |
|---|---|
| PNG | image/png |
| JPG | image/jpeg |
| SVG | image/svg+xml |
| WebP | image/webp |
Workflow complet: references/image-upload.md
ssh $SSH_HOST "docker exec $CONTAINER chown -R www-data:www-data /var/www/html/wp-content"
ssh $SSH_HOST "docker exec -e WP_CLI_TIMEOUT=300 $CONTAINER wp ..."
Execute database registration steps in references/image-upload.md
.env (pour uploads DB)Bash - SSH commands, docker exec, scpRead - Lire configs, .envGrep - Rechercher dans logs/outputThis skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.