cimakefile

在 CI 构建自动化中断之前,使用 checkmake 检查 Makefile 的样式问题、脆弱目标和可维护性问题。该技能专注于在依赖 make 的代码库中运行的代理进行构建脚本审查,而不是通用的构建工具清单。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "cimakefile":https://skillpi.com/zh/skills/deepskill-3f312f6a3df7e3c1727ec15f07d221ff0013a894538760f5dc6c7eae2f1b5a7b。安装前核对上游来源和版本:https://skillhub.cn/skills/user_3c6cb52e/makefile-linting-ci-build-pipelines。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

在 CI 构建自动化中断之前,使用 checkmake 检查 Makefile 的样式问题、脆弱目标和可维护性问题。该技能专注于在依赖 make 的代码库中运行的代理进行构建脚本审查,而不是通用的构建工具清单。

0 下载

介绍来源: third_party · user_3c6cb52e · 1.0.0 参考来源

SkillPi 解读

能完成的任务
使用 checkmake 在构建自动化在 CI 中中断之前,检查 Makefile 的样式问题、脆弱目标和可维护性问题。它是一种针对已在依赖 make 的代码库中工作的代理的狭窄构建脚本审查技能,而不是通用的构建工具列表。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
翻译待完成,请参阅来源文档。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: "CI和构建流水线中的Makefile检查"
slug: "makefile-linting-ci-build-pipelines"
version: "1.0.0"
displayName: "CI和构建流水线中的Makefile检查"
summary: "使用 checkmake 在构建自动化在 CI 中中断之前,检查 Makefile 的样式问题、脆弱目标和可维护性问题。它是针对已在依赖 make 的代码库中工作的代理的狭窄构建脚本审查技能,而不是通用的构建工具列表。"
license: "MIT"
description: "使用 checkmake 在构建自动化在 CI 中中断之前,检查 Makefile 的样式问题、脆弱目标和可维护性问题。它是一种针对已在依赖 make 的代码库中工作的代理的狭窄构建脚本审查技能,而不是通用的构建工具列表。"
github_stars: 1188
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 1188

CI和构建流水线中的Makefile检查

Uses checkmake to inspect Makefiles for style issues, fragile targets, and maintainability problems before build automation breaks in CI. It is a narrow build-script review skill for agents working inside repositories that already rely on make, not a generic build tool listing.

Prerequisites

checkmake binary and existing Makefiles

Installation

Use the upstream install or setup path that matches your environment:

  • docker build --build-arg BUILDER_NAME='Your Name' --build-arg BUILDER_EMAIL=your.name@example.com . -t checker
  • docker run --workdir / -v "$PWD"/Makefile:/Makefile quay.io/checkmake/checkmake:latest
  • docker run --workdir / -v "$PWD"/Makefile:/Makefile -v "$PWD"/checkmake.ini:/checkmake.ini quay.io/checkmake/checkmake:latest
  • go install github.com/checkmake/checkmake/cmd/checkmake@latest

Requirements and caveats from upstream:

  • building or running a container image can be done with docker and podman.
  • The container command used for building (docker or podman) is auto-detected with a preference for podman but can be overridden by the make variable CONTAINER_CMD.
  • The locally built image can be published with a make image-pushcommand corresponding to the previously described make image-buildcommand or alrenatively directly using docker push or podman push

Basic usage or getting-started notes:

Documentation

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值75/100

亮点

  • 针对依赖 make 的代码库提供狭窄但明确的构建脚本审查能力
  • 解决 CI 中 Makefile 样式、脆弱目标和可维护性问题,实用性强
触发精准85/100

亮点

  • description 明确描述了使用 checkmake 检查 Makefile 的场景和目标
  • 触发词清晰,边界明确,覆盖合理
结构规范90/100

亮点

  • 文档结构清晰,包含 Prerequisites、Installation、Basic usage、Documentation 等章节
  • 步骤明确,有端到端示例,frontmatter 完整
执行可靠85/100

亮点

  • 工具来源明确(checkmake),参数正确
  • 覆盖了主要异常(如容器命令自动检测、偏好设置),不可逆操作有确认机制
证据可验 (前四项均值)84/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • github.com
  • raw.githubusercontent.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

翻译待完成,请参阅来源文档。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。