Phoenix Static Files
This skill swiftly regenerates static files from a template, streamlining deployments and reducing downtime for faster updates.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add phoenix-static-files npx -- -y @trustedskills/phoenix-static-files
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"phoenix-static-files": {
"command": "npx",
"args": [
"-y",
"@trustedskills/phoenix-static-files"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to serve static files using the Phoenix framework. It provides a simple and efficient way to host assets like images, CSS, JavaScript, and other downloadable content directly from an Elixir application. The agent can manage file serving based on requests or pre-defined configurations.
When to use it
- Hosting a small website: Quickly deploy a static landing page or documentation site without needing a separate web server.
- Serving assets for a larger application: Provide images, CSS, and JavaScript files needed by a front-end application.
- Distributing downloadable resources: Offer files like PDFs, templates, or data sets to users directly through the agent.
- Creating an API endpoint for static content: Serve specific files on demand via an API route managed by the AI agent.
Key capabilities
- Serving static assets from Phoenix controllers
- Configuration of file routes and directories
- Handling requests for static files
- Integration with Elixir applications
Example prompts
- "Serve the image 'logo.png' located in the 'assets/images' directory."
- "Create a route to serve all CSS files from the 'css' folder."
- "Host the PDF document 'report.pdf' and make it available for download."
Tips & gotchas
- Requires a working Phoenix Elixir application environment.
- Ensure that static file directories are properly configured within your Phoenix project.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.