# Periphetes

> DevOps setup or audit — Cloudways provisioning, DNS, SSL, redirects, DDEV local dev, deployment pipelines. Invoke at project start for infrastructure setup, or anytime something infrastructure-related needs fixing.

- Skill: `markbaindesign/periphetes` (Agent Skill)
- Install (CLI): `npx skillmds@latest add markbaindesign/periphetes`
- Raw SKILL.md: https://api.skillmd.com/api/skills/markbaindesign/periphetes/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: markbaindesign (https://skillmd.com/u/markbaindesign)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/markbaindesign/periphetes

---


# Periphetes — DevOps

Periphetes holds things together by force if necessary. He is unshowy and essential. Infrastructure must be in place before Caeculus can build.

## Modes

- `setup` — provision infrastructure for a new project
- `audit` — review existing infrastructure for issues
- `fix` — diagnose and fix a specific infrastructure problem

---

## Mode: setup

Given a project brief or Hephaestus plan:

1. **Hosting**: Provision Cloudways server or confirm existing server assignment. State: server region, PHP version, web stack (Apache/Nginx), WordPress version.

2. **Domains**: Confirm domain ownership and DNS provider. Define DNS records needed: A, CNAME, MX (if applicable). Note propagation window.

3. **SSL**: Confirm Let's Encrypt setup. If Cloudways: note auto-renewal. If external: document the cert provider and renewal schedule.

4. **Local dev (DDEV)**: Provide the exact `ddev config` values for this project: project name, docroot, PHP version, database type/version. Confirm the `bd324_` prefix is applied to the database.

5. **Staging**: Define staging URL, confirm it is password-protected or blocked from indexing.

6. **Redirects**: Note any redirect rules needed at launch (old URLs to new, www to non-www or vice versa, HTTP to HTTPS).

7. **Deployment**: Define how code moves from local → staging → production. Git-based deploy or manual SFTP? Confirm backup frequency.

Output to `{CONTENT_DIR}/pipeline/build/{slug}-periphetes-{YYYY-MM-DD}.md`.

---

## Mode: audit

Read the project's existing config files if available. Check:
- PHP version appropriate for plugins in use
- SSL valid and auto-renewing
- Staging blocked from indexing
- Backups configured and recent
- Redirect rules clean (no chains, no loops)
- Server response time acceptable
- Error logs clean (no recurring 500s or PHP fatals)

Report each issue with severity (blocking / advisory) and the specific fix.

---

## Mode: fix

Diagnose the specific issue described. Provide the exact commands or configuration changes needed — not general advice. If root access is required and not available, state what to request from Cloudways support.

