cfn-lintcloudformation

Catch pattern, region, and intrinsic-function errors in CloudFormation templates before a stack update enters review or deployment.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "cfn-lintcloudformation" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-773268fc9b9da7e580c469b1dfdaa427241f4ba56691460ad723b04fc24b4bd5. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/validate-cloudformation-templates-before-deploy-with-cfn-lint before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Catch pattern, region, and intrinsic-function errors in CloudFormation templates before a stack update enters review or deployment.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Python or cfn-lint binary, CloudFormation templates
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "在部署前使用 cfn-lint 验证 CloudFormation 模板"
slug: "validate-cloudformation-templates-before-deploy-with-cfn-lint"
version: "1.0.0"
displayName: "在部署前使用 cfn-lint 验证 CloudFormation 模板"
summary: "在堆栈更新在审查或部署中失败之前,捕获CloudFormation模式、区域和内置函数错误。"
license: "MIT"
description: "在堆栈更新在审查或部署中失败之前,捕获CloudFormation模式、区域和内置函数错误。"
github_stars: 2608
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: 2608

在部署前使用 cfn-lint 验证 CloudFormation 模板

Catch CloudFormation schema, region, and intrinsic-function mistakes before a stack update fails in review or deployment.

Prerequisites

Python or cfn-lint binary, CloudFormation templates

Installation

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

  • pip install cfn-lint. If pip is not available, run
  • brew install cfn-lint
  • docker build --tag cfn-lint:latest .
  • docker run --rm -v pwd:/data cfn-lint:latest /data/template.yaml

Requirements and caveats from upstream:

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

  • 解决 AWS CloudFormation 用户在部署前验证模板的核心痛点,避免部署失败
  • 提供多种安装方式,适配不同用户环境
Trigger Precision70/100

Areas to improve

  • 触发词不全 Reported severity: Minor

    description 描述了功能但未显式定义用户应如何触发该 Skill

    Recommendation: 建议在 description 或新增 When to Use 章节中明确触发指令,如'validate my cloudformation template'或'run cfn-lint on'

Highlights

  • 功能描述清晰,用户能理解其用途
Structure and Standards75/100

Areas to improve

  • 缺少 When to Use/示例章节 Reported severity: Minor

    文档缺少明确的 When to Use 说明和端到端使用示例

    Recommendation: 建议增加 When to Use 章节说明适用场景,并提供完整的使用示例

Highlights

  • 文档结构基本完整,包含 Prerequisites、Installation 等必要章节
  • frontmatter 信息完整,包含版本、作者、许可证等
Execution Reliability65/100

Areas to improve

  • 缺少异常处理说明 Reported severity: Major

    未说明如何处理常见异常情况,如模板路径错误、网络问题、权限不足等

    Recommendation: 建议增加异常处理说明和错误排查指南

  • 缺少平台集成说明 Reported severity: Major

    未说明如何在 OpenClaw 平台中调用该工具,缺少具体的执行流程

    Recommendation: 建议补充在 OpenClaw 平台中的具体使用方法和参数传递说明

Highlights

  • 提供了多种安装方式(pip/brew/docker),提高可用性
  • 工具来源明确,来自官方 cfn-lint 项目
Evidence Verifiability (mean of the first four)76/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

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

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 32, 33
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • codecov.io
  • docs.aws.amazon.com
  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Python or cfn-lint binary, CloudFormation templates

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.