Automated summary
Generates Docker Compose configuration and .env.example for a local PostgreSQL development environment with Rust.
Strengths
- Ready-to-use configuration with default ports and volumes
- Clear separation between dev and test databases (ports 6432/6433)
Limitations
- Only supports PostgreSQL, not other databases
- Requires Podman or Docker Compose to be installed
When starting a new Rust project that needs a local PostgreSQL database for development and testing.
For projects using a remote database or a different database management system.
Security analysis
SafeThe skill merely scaffolds development configuration files (Docker Compose, .env.example) using a local Python script. It does not execute any destructive actions, exfiltrate data, or disable safety features. The usage of Bash is limited to running the script and providing helpful reminders, posing no security risk.
No concerns found
How this analysis is madeExamples
Scaffold infra for myprojectSet up Docker Compose for a new Rust projectCreate dev database config for myappname: malky-infra-scaffolder description: Scaffolds the infra/ directory and .env.example for a new Rust/PostgreSQL project. Use when setting up a new project's local infrastructure, asked to "scaffold infra", "set up docker compose", "create dev database config", or "set up postgres for a new project". argument-hint: <project_name> [destination_dir] allowed-tools: Bash
Infra Scaffolder
Generates the local dev/test PostgreSQL infra and .env.example for a new project.
What gets generated
<dest>/
infra/
docker-compose.yml # dev DB on :6432, persistent named volume
docker-compose.test.yml # test DB on :6433, tmpfs (ephemeral, no logging)
.env.example # DATABASE_URL + DATABASE_TEST_ADMIN_URL + RUST_LOG
Key conventions baked in
- Dev DB: user/password/dbname all =
<project_name>, port 6432 - Test DB: user/password =
<project_name>_test, dbname =<project_name>_test, port 6433 - Test DB uses
tmpfs(wiped on container stop) andlog_statement=noneto keep test runs quiet DATABASE_TEST_ADMIN_URLpoints to thepostgressystem DB soTestApp::spawn()canCREATE DATABASE test_<uuid>dynamically- Managed with
podman compose(drop-in fordocker compose)
How to run
- Get project name from the user (required). Get destination directory (optional, default
.). - Run the scaffold script:
python3 ~/.claude/skills/malky-infra-scaffolder/scaffold.py <project_name> [destination_dir]
- Show the user the output and remind them:
# Start dev DB
podman compose -f infra/docker-compose.yml up -d
# Start test DB (before running integration tests)
podman compose -f infra/docker-compose.test.yml up -d
# Copy env
cp .env.example .env
Pairing with the Rust scaffolder
This skill is the infra counterpart to malky-rust-scaffolder. Run both when starting a new project:
malky-rust-scaffolder→ creates the Rust cratemalky-infra-scaffolder→ creates the compose files and.env.example
The .env.example generated here is the correct one to use — it supersedes the one placed by the rust scaffolder (which uses generic placeholder URLs).
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/rust-postgresql-infrastructure-scaffolder-mm8o52aa/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/rust-postgresql-infrastructure-scaffolder-mm8o52aa' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/rust-postgresql-infrastructure-scaffolder-mm8o52aa/download' --output '.skill-downloads/rust-postgresql-infrastructure-scaffolder-mm8o52aa/SKILL.md.part' && mv '.skill-downloads/rust-postgresql-infrastructure-scaffolder-mm8o52aa/SKILL.md.part' '.skill-downloads/rust-postgresql-infrastructure-scaffolder-mm8o52aa/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Bash
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/rust-postgresql-infrastructure-scaffolder-mm8o52aa/SKILL.md' && test -s '.skill-downloads/rust-postgresql-infrastructure-scaffolder-mm8o52aa/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/malky-infra-scaffolder' && cp -R '.skill-downloads/rust-postgresql-infrastructure-scaffolder-mm8o52aa' '.claude/skills/malky-infra-scaffolder'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/rust-postgresql-infrastructure-scaffolder-mm8o52aa'openskills read 'rust-postgresql-infrastructure-scaffolder-mm8o52aa'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/rust-postgresql-infrastructure-scaffolder-mm8o52aa/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.