본문으로 건너뛰기
cccskills
무료GitHub에 공개

content-gate

Run the full quality gate on any content file. Score against 28 rules, apply policy, show detailed scorecard with fix suggestions. Works on any markdown file.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구LinkedIn
설치 방법 보기

포함된 파일(1)

  • SKILL.md4.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

/content-gate — Quality Assurance

See also: /voice-gate — the complementary subjective-voice pass. Run /content-gate first for mechanical rule checks (banned words, SEO lint, Four U's), then /voice-gate for cadence, signature-move overuse, and voice-guide violations that require interpretation.

Run the full quality gate on any content. Scores against 28 rules across 4 categories, applies the approval policy, and produces a detailed scorecard with fix suggestions.

Can be used standalone on any file, or as part of the content sprint chain after /content-write.

Preamble

source "$(dirname "$0")/../lib/preamble.sh"

Arguments

Optional:

  • file path: Path to a markdown file to score. If omitted, uses the most recent draft from ~/.kai-marketing/drafts/.
  • --policy: Gate policy name (blog-publish, linkedin-article, cold-email, default). Auto-detected from file if omitted.

Example: /content-gate path/to/article.md --policy blog-publish Example: /content-gate (uses most recent draft)

The Skill

Step 1: Find the Content

If a file path is provided in ARGUMENTS, use that file.

If no file path, find the most recent .md file in ~/.kai-marketing/drafts/. If no drafts exist, tell user: "No draft found. Run /content-write first, or provide a file path: /content-gate path/to/file.md"

Step 2: Detect Policy

If --policy is specified, use it. Otherwise, detect from the filename or content:

  • Contains "blog" or in drafts/ → blog-publish
  • Contains "linkedin" → linkedin-article
  • Contains "email" or "cold" → cold-email
  • Contains "ad" or "meta" or "google" → default (no SEO lint)
  • Otherwise → default

Step 3: Run the Gate

Run two commands:

Score the content:

kai-gate score {file} --format json

Run gate decision:

kai-gate gate {file} --policy {policy}

Step 4: Display the Scorecard

Present the results:

QUALITY GATE SCORECARD
══════════════════════════════════════════

File:   {filename}
Policy: {policy}

OVERALL: {score}/100 ({grade}) — {PASS|FAIL|HOLD}

┌─────────────────────────┬───────┬────────┐
│ Category                │ Score │ Weight │
├─────────────────────────┼───────┼────────┤
│ Algorithmic Authorship  │  {aa}%│  35%   │
│ GEO/AEO Signals        │ {geo}%│  20%   │
│ Content Structure       │  {cs}%│  25%   │
│ Four U's               │{4u}/16│  20%   │
├─────────────────────────┼───────┼────────┤
│ TOTAL                   │{total}│ 100%   │
└─────────────────────────┴───────┴────────┘

VIOLATIONS ({count}):
  {severity} {rule_id}: {description}
    Fix: {suggestion}
    Line: {line_number}

TOP FIXES:
  1. {most impactful fix}
  2. {second most impactful fix}
  3. {third most impactful fix}

Step 5: Gate Decision

Based on the score and policy:

  • PASS (score >= threshold, no tier-1 banned words): "Content approved. Ready to publish."
  • HOLD (score close to threshold or policy=hold): "Content held for review. Score: {score}. Threshold: {threshold}."
  • FAIL (score below threshold or tier-1 violations): "Content rejected. {N} violations must be fixed."

If FAIL, offer to auto-fix: "Want me to revise the draft to fix these {N} violations? (Only failing rules will be touched — passing sections protected.)"

Step 6: Save Gate Result

Save the gate result to ~/.kai-marketing/gates/{date}-{slug}.json:

{"file": "{filename}", "policy": "{policy}", "score": {score}, "grade": "{grade}", "status": "{pass|hold|fail}", "violations_count": {N}, "timestamp": "{ISO datetime}"}

Error Handling

  • File not found: Show helpful message with file path
  • SQLite locked: Retry once after 1 second, then warn user
  • LLM unavailable (Four U's scoring): Score without LLM, note "Four U's scored rule-based only (LLM unavailable)"

Chain State

Reads from: ~/.kai-marketing/drafts/{date}-{slug}.md (or any file) Writes to: ~/.kai-marketing/gates/{date}-{slug}.json

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

ad-copy

무료

Write platform-compliant ad copy for Meta, Google, TikTok, LinkedIn, Pinterest, Snapchat, Amazon, or X. Loads TOS rules automatically. Shows char counts and format preview.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

cgallic/kai-cmo-harness572026년 10월 3일 업데이트

ad-render

무료

Render video ads using Remotion. Scaffolds a project from brand tokens + creative brief, generates scene compositions for 4 archetypes, renders to MP4 in multiple formats.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

cgallic/kai-cmo-harness572026년 10월 3일 업데이트

Research competitor ads using Meta Ad Library, Google Ads Transparency Center, and TikTok Creative Center. Analyze creative patterns, hooks, offers, and landing pages.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

cgallic/kai-cmo-harness572026년 10월 3일 업데이트

checklist

무료

Surface the right marketing checklist for any task. Covers content, SEO, ads, email, press, landing pages, launches, and technical audits. 17+ checklists indexed by task type.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

cgallic/kai-cmo-harness572026년 10월 3일 업데이트

Generate a strategic content brief from format + site + keyword. Auto-resolves persona, pulls GSC data, generates hooks, angles, and competitor weakness via LLM.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

cgallic/kai-cmo-harness572026년 10월 3일 업데이트

Suggest content topics ranked by opportunity score. Analyzes GSC keyword data and cross-references with personas to find high-potential topics.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

cgallic/kai-cmo-harness572026년 10월 3일 업데이트

cgallic의 스킬 모두 보기

이 스킬의 문제 신고