Search AI Tools

Agent skill

makefile-review

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/makefile-review

SKILL.md

Table of Contents

  • Quick Start
  • When to Use
  • Required TodoWrite Items
  • Workflow
  • Step 1: Map Context (makefile-review:context-mapped)
  • Step 2: Dependency Graph (makefile-review:dependency-graph)
  • Step 3: Deduplication Audit (makefile-review:dedup-candidates)
  • Step 4: Portability Check (makefile-review:tooling-alignment)
  • Step 5: Evidence Log (makefile-review:evidence-logged)
  • Progressive Loading
  • Output Format
  • Summary
  • Context
  • Dependency Analysis
  • Duplication Candidates
  • [D1] Repeated command
  • Portability Issues
  • Missing Targets
  • Recommendation
  • Exit Criteria

Makefile Review Workflow

Audit Makefiles for best practices, deduplication, and portability.

Quick Start

bash
/makefile-review

Verification: Run the command with --help flag to verify availability.

When to Use

  • Makefile changes or additions
  • Build system optimization
  • Portability improvements
  • CI/CD pipeline updates
  • Developer experience improvements

Required TodoWrite Items

  1. makefile-review:context-mapped
  2. makefile-review:dependency-graph
  3. makefile-review:dedup-candidates
  4. makefile-review:tooling-alignment
  5. makefile-review:evidence-logged

Workflow

Step 1: Map Context (makefile-review:context-mapped)

Confirm baseline:

bash
pwd && git status -sb && git diff --stat

Verification: Run git status to confirm working tree state.

Find Make-related files:

bash
rg -n "^include" -g'Makefile*'
rg --files -g '*.mk'

Verification: Run the command with --help flag to verify availability.

Document changed targets, project goals, and tooling requirements.

Step 2: Dependency Graph (makefile-review:dependency-graph)

@include modules/dependency-graph.md

Step 3: Deduplication Audit (makefile-review:dedup-candidates)

@include modules/deduplication-patterns.md

Step 4: Portability Check (makefile-review:tooling-alignment)

@include modules/portability-checks.md

Step 5: Evidence Log (makefile-review:evidence-logged)

Use imbue:evidence-logging to record command outputs with file:line references.

Summarize findings:

  • Severity (critical, major, minor)
  • Expected impact
  • Suggested refactors
  • Owners and dates for follow-ups

Progressive Loading

Load additional context as needed:

Best Practices & Examples: @include modules/best-practices.md

Output Format

markdown
## Summary
Makefile review findings

## Context
- Files reviewed: [list]
- Targets changed: [list]

## Dependency Analysis
[graph and issues]

## Duplication Candidates
### [D1] Repeated command
- Locations: [list]
- Recommendation: [pattern rule]

## Portability Issues
[cross-platform concerns]

## Missing Targets
- [ ] help
- [ ] format
- [ ] lint

## Recommendation
Approve / Approve with actions / Block

Verification: Run the command with --help flag to verify availability.

Exit Criteria

  • Context mapped
  • Dependencies analyzed
  • Deduplication reviewed
  • Portability checked
  • Evidence logged

Troubleshooting

Common Issues

Command not found Ensure all dependencies are installed and in PATH

Permission errors Check file permissions and run with appropriate privileges

Unexpected behavior Enable verbose logging with --verbose flag

Expand your agent's capabilities with these related and highly-rated skills.

majiayu000/claude-skill-registry

riot-games

Manage Riot Games account, track stats across League, Valorant, and more

163 31
Explore
majiayu000/claude-skill-registry

parcel

Provides comprehensive guidance for Parcel bundler including zero-configuration setup, asset handling, hot module replacement, and production builds. Use when the user asks about Parcel, needs to set up a build tool quickly, or work with Parcel's automatic configuration.

163 31
Explore
majiayu000/claude-skill-registry

bbs

Manage issues with The Fold's CAS-native BBS (Bulletin Board System). Use for creating, updating, searching, and tracking issues. Invoke when the user wants to create tickets, find work, check issue status, or manage dependencies.

163 31
Explore
majiayu000/claude-skill-registry

jito-bundles-and-priority-fees

Master Jito bundles for MEV protection and priority fee optimization on Solana - bundle submission, tip strategies, and transaction landing. Use for trading bots, high-priority transactions, and MEV-aware applications.

163 31
Explore
majiayu000/claude-skill-registry

observability-monitoring-monitor-setup

You are a monitoring and observability expert specializing in implementing comprehensive monitoring solutions. Set up metrics collection, distributed tracing, log aggregation, and create insightful da

163 31
Explore
majiayu000/claude-skill-registry

story-writer

通用短篇小说创作技能包。支持多种类型(武侠/科幻/童话/现言),执行大纲、人物、目录、章节的专业创作。根据类型参数加载对应的创作方法论和写作风格。

163 31
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results