skills/xixu-me/secure-linux-web-hosting/SKILL.md
Use when setting up, hardening, or reviewing a cloud server for self-hosting, including DNS, SSH, firewalls, Nginx, static-site hosting, reverse-proxying an app, HTTPS with Let's Encrypt or ACME clients, safe HTTP-to-HTTPS redirects, or optional post-launch network tuning such as BBR.
npx skillsauth add aiskillstore/marketplace secure-linux-web-hostingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to turn a cloud server into a safely reachable web host without leaning on stale distro-specific memory or outdated Debian-10-era tutorials.
This skill keeps the familiar teaching arc of a beginner-friendly server guide, but turns it into a reusable operator workflow:
Before giving actionable commands, identify the distro family and verify the current package names, service units, config paths, and ACME-client guidance against official documentation for the user's distro and chosen tools.
Open references/workflow-map.md first for the
phase sequence, then open the narrower reference file you need.
Use this skill when the user mentions any of the following:
acme.sh, certificate renewal, or redirecting
HTTP to HTTPSDo not use this skill for:
Start by identifying:
If the distro is unknown, ask for it or have the user inspect /etc/os-release
before giving concrete package or service commands.
Use bundled references for routing, then verify details against live official docs before giving commands that depend on current distro behavior.
Always verify:
If you cannot verify a detail, say so and give high-level guidance instead of pretending the old Debian tutorial path is universal.
Walk through the phases in this order unless the user is explicitly asking for review or remediation of an existing setup:
Do not collapse the static-site branch and reverse-proxy branch into one default answer. Pick the branch that matches the user's goal.
Treat these as hard stop checks:
Always distinguish:
For a fresh setup, provide:
For a hardening or troubleshooting review, provide:
Use references/workflow-map.md for the phase map,
branching logic, and validation order.
Use references/distro-routing.md when distro
family, package manager, firewall tooling, or config layout matters.
Use references/nginx-patterns.md when the user
needs the static-site branch or the reverse-proxy branch.
Use references/security-and-tls.md for SSH
hardening sequence, firewall posture, certificate issuance, renewal, and
redirect timing.
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.