Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计异常

validate-output验证输出

Agent Skill

validate-output 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

612

周安装

26

GitHub Stars

66

下载量

214
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:validate-output(验证输出)
来源仓库:https://github.com/indranilbanerjee/digital-marketing-pro
仓库路径:skills/validate-output
安装命令:
npx skills add https://github.com/indranilbanerjee/digital-marketing-pro --skill validate-output
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/indranilbanerjee/digital-marketing-pro --skill validate-output

简介

validate-output 对 Agent 生成的文本、代码或数据进行格式和内容审查。

  • 适用于内容创作、代码生成等需要符合特定模板或风格要求的场景。
  • 可检查缩进、命名规范、Markdown 语法等细节问题。
  • 风格偏好具有主观性,建议结合团队约定而非绝对标准。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

/dm:validate-output

Purpose

Validate marketing content against expected structural schemas to ensure completeness, formatting consistency, and production-readiness. Checks required sections, word count ranges, markdown formatting compliance, placeholder text detection (unfilled template variables, lorem ipsum, TBD markers), and content-CTA consistency. Supports eight built-in schemas for common marketing content types plus custom schemas for brand-specific templates.

This command catches the structural and formatting issues that quality evaluation misses — the missing H2 that breaks SEO, the placeholder "[INSERT COMPANY NAME]" that slipped through, the blog post that is 300 words short of the brief requirement, or the email that has a CTA promising a demo but the body talks about a whitepaper. It is designed to be run as a final pre-publication check after content quality has been evaluated via /dm:eval-content.

Input Required

The user must provide (or will be prompted for):

  • Content to validate: The text to check — provided inline, as a pasted block, or as a file path. Supports any marketing content format
  • Schema name or file (optional): One of the eight built-in schemas — blog_post, email, ad_copy, social_post, landing_page, press_release, content_brief, campaign_plan — or a file path to a custom JSON schema. If omitted, the validator auto-detects the most likely schema based on content structure, length, and formatting patterns. Custom schemas follow the format defined in skills/context-engine/eval-framework-guide.md

Process

  1. Load brand context: Read ~/.claude-marketing/brands/_active-brand.json for the active slug, then load ~/.claude-marketing/brands/{slug}/profile.json. Apply brand formatting standards and content requirements. Also check for guidelines at ~/.claude-marketing/brands/{slug}/guidelines/_manifest.json — if present, load template definitions from templates/ that may define brand-specific required sections, word count ranges, and formatting rules. Check for custom schemas at ~/.claude-marketing/brands/{slug}/schemas/. Check for agency SOPs at ~/.claude-marketing/sops/. If no brand exists, ask: "Set up a brand first (/dm:brand-setup)?" — or proceed with defaults.
  2. Determine schema: If a schema name or file was provided, use it directly. If not, execute scripts/output-validator.py --action list-schemas to get all available schemas, then select the most appropriate one based on content characteristics (length, structure, formatting patterns). Report which schema was selected and why, so the user can override if the selection was wrong.
  3. Run structural validation: Execute scripts/output-validator.py --action validate --text "{content}" --schema {schema_name_or_path}. The validator checks:

- Required sections: All sections defined in the schema are present with appropriate headings. For each missing section, identify what is expected and where it should appear in the content structure - Word count: Total word count and per-section word counts fall within the schema-defined ranges. Flag both under-count (too thin, lacking depth) and over-count (too long, needs trimming) - Formatting compliance: Markdown heading hierarchy is correct (no skipped levels), lists are properly formatted, links are valid syntax, images have alt text, code blocks are closed, and tables render correctly - Placeholder detection: Scan for unfilled template variables ({placeholder}, [PLACEHOLDER], [INSERT X], TODO, TBD, FIXME, Lorem ipsum, xxx, ACME Corp used as placeholder), partial completions, and obviously templated content that was not customized - CTA consistency: The call-to-action matches the content's topic and promise — a blog post about email marketing should not CTA to a social media guide, an email promoting a webinar should link to the webinar registration, not a generic contact page - SEO structure (for blog_post and landing_page schemas): H1 present and singular, meta description length within 150-160 characters, title tag within 50-60 characters, internal link present, keyword appears in H1 and first 100 words - Compliance markers (for regulated industries): Required disclaimers present, mandatory disclosures included, terms and conditions referenced where needed

  1. Generate fix guidance: For each failed check, provide specific guidance:

- What is missing or incorrect, with the exact location in the content - What the schema requires (the rule being enforced) - How to fix it, with an example of what the corrected section should look like - Whether the fix is required (schema mandates it) or recommended (best practice)

  1. Handle custom schema requests: If the user needs a schema that does not match any built-in option, guide them on the JSON schema format:

- Required fields: name, sections (array of section definitions with name, required flag, min/max word count), total_word_count (min/max), formatting_rules, placeholder_patterns - Offer to generate a starter schema based on the content's current structure that the user can refine

  1. Present checklist-style results: Format all validation results as a pass/fail checklist that the user can work through sequentially, with the most critical failures first.

Output

A structured validation report containing:

  • Validation score: Percentage of checks passed out of total checks run — the headline metric for structural completeness
  • Schema used: Which schema was applied (built-in name or custom file path), whether it was user-specified or auto-detected, and the detection confidence if auto-detected
  • Pass/fail checklist: Each check as a line item with pass or fail status:

- Sections check: List of required sections with present/missing status. For each missing section, the expected heading, where it should appear, and an example of what it should contain - Word count check: Total word count versus schema range, plus per-section counts for any sections outside their expected range. Shows the delta (e.g., "247 words short of the 1,500 minimum") - Formatting check: Heading hierarchy validation, list formatting, link syntax, image alt text, code block closure, table rendering. Each issue with its location and the specific formatting rule violated - Placeholder check: Every detected placeholder instance with the exact text, line location, and suggested action (replace with real content, remove, or confirm if intentional). Grouped by type: template variables, lorem ipsum, TBD/TODO markers, obvious placeholder names - CTA consistency check: Whether the CTA aligns with the content topic and promise. If misaligned, the specific inconsistency and a suggested correction - SEO structure check (if applicable): H1 presence and uniqueness, meta description length, title tag length, keyword placement, internal linking - Compliance check (if applicable): Required disclaimers, disclosures, and legal references

  • Fix checklist: Priority-ordered list of all failures with specific fix instructions — required fixes first, then recommended improvements, each with example corrected text
  • Placeholder inventory: Complete list of all detected placeholders across the content, deduplicated, so the user has a single reference for everything that needs to be filled in
  • Schema reference: If the user may need it, a summary of the schema rules that were applied — useful for writers to understand the structural requirements before starting their next piece

Agents Used

  • quality-assurance — Schema selection and auto-detection, structural validation execution across all check dimensions (sections, word count, formatting, placeholders, CTA consistency, SEO structure, compliance markers), fix guidance generation with specific examples, checklist formatting, and custom schema creation guidance

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.09%
按下载量换算75

Claude

29.7%
按下载量换算64

Cursor

20.84%
按下载量换算45

Gemini CLI

10.64%
按下载量换算23

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

未通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills