add-buildkit-fix

Adds auto-fix capabilities to BuildKit linter rules in the Go-based tally project.

8|3|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/wharflab/tally --skill add-buildkit-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-buildkit-fix
Source: https://github.com/wharflab/tally/tree/main/.claude/skills/add-buildkit-fix
Command: npx skills add https://github.com/wharflab/tally --skill add-buildkit-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of adding automatic fixing capabilities to existing BuildKit linter rules, improving code quality and developer efficiency.

Core Features & Use Cases

  • Rule Verification: Confirms if a specific BuildKit rule is currently being flagged as a violation.
  • Fix Implementation: Guides the user through creating the necessary Go code to implement an auto-fix for a given rule.
  • Testing: Includes steps for writing unit and integration tests to ensure the fix works correctly.
  • Use Case: A developer identifies a common casing issue in Dockerfile stage names that BuildKit flags but doesn't automatically correct. They use this Skill to add an auto-fix for that specific rule.

Quick Start

Use the add-buildkit-fix skill to add auto-fix support for the 'StageNameCasing' rule.

Frequently Asked Questions about add-buildkit-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add auto-fix capabilities to BuildKit linter rules in Go?

To add auto-fix capabilities to BuildKit linter rules in Go, you need to implement suggested fixes for identified violations, write unit and integration tests, and update project documentation. This process requires a Go development environment and familiarity with the tally project structure to guide code modifications effectively.

How does the BuildKit auto-fix mechanism handle Dockerfile stage name violations?

The BuildKit auto-fix mechanism handles Dockerfile stage name violations by verifying if a specific rule is currently flagged, then guiding the developer through creating the necessary Go code to automatically correct the issue. This includes steps for testing the fix and ensuring it integrates correctly with the existing linter framework.

Do I need a Go development environment to implement BuildKit linter auto-fixes?

Yes, you need a Go development environment to implement BuildKit linter auto-fixes. The implementation process requires writing Go code to create the auto-fix logic, followed by developing unit and integration tests to verify that the corrections work as intended within the tally project structure.

What is the best way to verify if a specific BuildKit rule is flagged as a violation?

The best way to verify if a specific BuildKit rule is flagged as a violation is to use rule verification steps within the tally project. This confirms the rule is actively triggering before you proceed with implementing the Go code necessary to apply the automatic fix.

What testing is required when implementing an auto-fix for a BuildKit linter rule?

When implementing an auto-fix for a BuildKit linter rule, you must write both unit and integration tests to ensure the fix works correctly. This testing validates that the Go code modifications accurately resolve the identified Dockerfile violations without introducing regressions.