unxed/f4 / .agents/skills/aif-build-automation
aif-build-automation
VerifiedAnalyze project and generate or enhance build automation file (Makefile, Taskfile.yml, Justfile, Magefile.go). If a build file already exists, improves it by adding missing targets and best practices. Use when user says "generate makefile", "create taskfile", "add justfile", "setup mage", or "build automation".
references/SUMMARY-FORMAT.md
View on GitHub# Summary Display Formats
## Mode B (Generate New) — show what was created:
```
## Generated: [Filename]
### Targets
| Target | Description |
|--------|-------------|
| build | Compile the project binary |
| test | Run test suite |
| lint | Run golangci-lint |
| ... | ... |
### Project Profile Used
- Language: Go
- Package Manager: go modules
- Framework: Chi
- Docker: yes
- Migrations: goose
- Linters: golangci-lint
### Quick Start
[tool-specific run command, e.g., "make help", "task --list", "just", "mage -l"]
```
## Mode A (Enhance Existing) — show what was changed:
```
## Enhanced: [Filename]
### What Changed
- Added missing preamble: `.SHELLFLAGS`, `.DELETE_ON_ERROR`
- Added `help` target with self-documenting pattern
- Added `docker-build` and `docker-push` targets (Dockerfile detected)
- Added `db-migrate` target (Prisma detected)
- Added `##` descriptions to 3 existing targets
- Added VERSION/COMMIT variables via git
### New Targets Added
| Target | Description |
|--------|-------------|
| help | Show available targets |
| docker-build | Build Docker image |
| db-migrate | Run Prisma migrations |
### Existing Targets (unchanged)
| Target | Description |
|--------|-------------|
| build | Build the project |
| test | Run tests |
| ... | ... |
```
## Installation Hint (both modes)
If the tool requires installation, include a note:
```
### Installation
[install instructions for task/just/mage if not already installed]
```
Installation hints:
- **Task**: `go install github.com/go-task/task/v3/cmd/task@latest` or `brew install go-task`
- **Just**: `cargo install just` or `brew install just`
- **Mage**: `go install github.com/magefile/mage@latest` or `brew install mage`
- **Make**: Usually pre-installed; `brew install make` on macOS for GNU Make 4+
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |