# Stop Preview

> Stop Preview is an Agent Skill for apps & automation published in the nextflow-io/training repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Stop a running MkDocs preview server. Use when port 8000 is busy, switching tasks, or done editing documentation.

- Skill name: `stop-preview`
- Category: [Apps & Automation](https://www.openparable.com/skill/apps-automation/1)
- Source: https://github.com/nextflow-io/training/blob/HEAD/.claude/skills/stop-preview/SKILL.md
- Repository: nextflow-io/training (256 GitHub stars when collected)

## SKILL.md

Stop the MkDocs preview server that is running in the background.

See [../shared/repo-conventions.md](../shared/repo-conventions.md) for directory structure.

This will:

1. Find any running Docker containers with the training-mkdocs image
2. Stop the container(s)
3. Confirm the server has been stopped

If no preview server is running, you'll be notified.

Use the following steps:

1. Run `docker ps --filter "ancestor=ghcr.io/nextflow-io/training-mkdocs:latest" --format "{{.ID}}"` to find running containers
2. If any container IDs are found, stop them with `docker stop <container_id>`
3. Confirm they have been stopped

---

Source: https://www.openparable.com/skill/apps-automation/stop-preview (OpenParable). Cite the canonical URL above.
