Makefile Contract Lint

🌐Community
by jsonlee12138 · vlatest · Repository

This skill automatically checks your Makefiles and contracts for common errors and best practices, ensuring code quality and reducing potential issues.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add makefile-contract-lint npx -- -y @trustedskills/makefile-contract-lint
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "makefile-contract-lint": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/makefile-contract-lint"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill analyzes Makefile files to ensure they adhere to a defined contract or set of rules. It identifies deviations from the expected structure and syntax, helping maintain consistency and prevent errors in build processes. The tool aims to enforce best practices within Makefile development by providing automated checks.

When to use it

  • Project onboarding: Quickly assess new projects' Makefile quality and identify potential issues early on.
  • Code reviews: Integrate into code review workflows to automatically check for Makefile contract compliance.
  • Continuous integration (CI): Automate Makefile validation as part of CI pipelines to prevent broken builds.
  • Team standardization: Enforce consistent Makefile structure and syntax across a development team.

Key capabilities

  • Contract-based analysis: Checks against predefined rules or contracts for Makefile content.
  • Deviation identification: Highlights areas where the Makefile doesn't conform to the contract.
  • Automated validation: Provides automated checks during development or build processes.

Example prompts

  • "Analyze this Makefile and check it against my project’s contract."
  • "Run a linting check on the Makefile in /path/to/makefile."
  • "Validate that this Makefile adheres to the standard naming conventions."

Tips & gotchas

  • Requires a defined Makefile contract or set of rules for effective analysis. Without a contract, the skill cannot function.

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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
jsonlee12138
Installs
4

🌐 Community

Passed automated security scans.