cf-style-guide
Import a brand voice profile from an existing style guide — a .docx/.pdf document, a URL, or manual input — extracting tone, formality, personality, approved/banned terminology, compliance guardrails, and author profiles into a structured brand-profile JSON at ~/.claude-marketing/{brand-slug}/Brand-Guidelines/, then configure the tracking backend (Google Sheets + Drive, Airtable, or local). Triggers on \"/contentforge:cf-style-guide\", \"import our style guide\", \"set up a brand from this document\", \"update the brand profile with new guidelines\", \"extract our banned terms and disclaimers\". Deterministic parsing, no agent. The saved profile is read by every pipeline phase — drafting, brand compliance, humanizer; pairs with /contentforge:brand-setup and /contentforge:cf-switch-backend.
indranilbanerjee · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add indranilbanerjee/contentforge --skill cf-style-guide技能说明
name: cf-style-guide description: "Import a brand voice profile from an existing style guide — a .docx/.pdf document, a URL, or manual input — extracting tone, formality, personality, approved/banned terminology, compliance guardrails, and author profiles into a structured brand-profile JSON at ~/.claude-marketing/{brand-slug}/Brand-Guidelines/, then configure the tracking backend (Google Sheets + Drive, Airtable, or local). Triggers on "/contentforge:cf-style-guide", "import our style guide", "set up a brand from this document", "update the brand profile with new guidelines", "extract our banned terms and disclaimers". Deterministic parsing, no agent. The saved profile is read by every pipeline phase — drafting, brand compliance, humanizer; pairs with /contentforge:brand-setup and /contentforge:cf-switch-backend." argument-hint: "[brand-name or URL]" effort: medium
Brand Style Guide Importer
Import brand voice profiles from existing style guide documents, URLs, or manual input. Extracts tone, formality, personality traits, writing style, approved/banned terminology, and compliance guardrails into a structured brand profile JSON that the ContentForge pipeline uses for every piece of content it produces.
When to Use
Use /contentforge:cf-style-guide when:
- You're onboarding a new brand and have an existing style guide document (.docx, .pdf) or URL
- You need to update an existing brand profile with revised guidelines
- You want to extract terminology and guardrails from compliance documents
- You're setting up ContentForge for a regulated industry (Pharma, BFSI, Healthcare, Legal) where guardrails are critical
- You want to validate that an existing brand profile matches current guidelines
- A client provided a style guide URL (Notion page, Google Doc, website page) and you need to import it
For creating a brand profile from scratch (no existing style guide), use /contentforge:brand-setup with interactive mode.
For using an existing brand profile, just reference it by name in /contentforge:create-content --brand=BrandName.
What This Command Does
- Load Style Guide — Fetch style guide from URL (via WebFetch), parse .docx/.pdf document, or accept manual input
- Extract Voice Characteristics — Identify tone (authoritative, conversational, technical, witty), formality level (1-5), personality traits, and writing style patterns
- Identify Terminology — Parse approved terms, banned/prohibited terms, industry-specific jargon, preferred spellings, and acronym definitions
- Parse Compliance Requirements — Extract guardrails, required disclaimers, prohibited claims, regulatory requirements, and sensitivity guidelines
- Capture Author Profiles (E-E-A-T) — If the style guide names authors/spokespeople (About/Team sections, byline conventions), extract name, title, credentials, bio, and profile URLs into
author_profiles; otherwise prompt for at least one default author (or an explicit "authorless" choice, recorded with its SEO/AEO trade-off). Only user-confirmed facts — never invent credentials - Configure the AI-Assistance Disclosure — Write the
ai_disclosureblock:{"mode": "claude-surfaces", "text": null, "author": null}by default. Explain the three modes plainly:claude-surfaces(default — the disclosure attaches when the pipeline runs on a Claude surface, or when the surface is uncertain; it is skipped only when a non-Claude harness is affirmatively detected),always(attach on every surface — the safest posture for brands with their own AI-transparency obligations),off(never attach; the brand owns that choice and its compliance implications). Theauthorfield is OPTIONAL and may stay null — the default wording ("reviewed by our editorial team") needs no name; when the brand does name someone, that name also feeds the E-E-A-T byline. Customtextreplaces the default verbatim — note that the default is deliberately vendor-neutral and claims only the review the pipeline performs; a brand adding stronger claims owns them - Generate Brand Profile JSON — Create or update a structured JSON profile following the
brand-registry-template.jsonschema - Save and Validate — Save profile to Google Drive (via MCP) or local cache using the brand-cache-manager pattern, and validate the profile works with the ContentForge pipeline
- Configure Tracking Backend — Choose where ContentForge tracks quality scores and delivers output files: Google Sheets + Drive, Airtable, or local filesystem
Required Inputs
Minimum Required:
- Brand Name — The name for this brand profile (used in
--brand=across all skills)
Style Guide Source (one of):
- URL — Public URL to a style guide page (Notion, Google Docs published link, website page, Confluence page)
- Document — Path to a .docx or .pdf style guide file
- Manual Input — Interactive mode where you provide voice/terminology/guardrails step by step
Import Scope:
- voice — Extract only voice and tone characteristics
- terminology — Extract only approved/banned terms
- guardrails — Extract only compliance requirements and guardrails
- all (default) — Extract everything: voice + terminology + guardrails
How to Use
Basic invocation: /contentforge:cf-style-guide AcmeMed --source=<url-or-path-or-manual> [--scope=voice|terminology|guardrails|all] [--update]
Before running this skill, read references/cli-usage-examples.md (in this skill's directory) for the full set of worked examples — URL import, document import, Notion import, scope-limited imports, manual-input mode, and profile-update mode.
What Happens
Step 0: Check Drive for existing brand profile (v3.12.10+, Cowork only)
Before parsing any new source, check whether this brand already has a profile saved in Drive from a previous session. This is critical in Cowork because the sandbox FS is recycled — without this check,
阅读完整来源 ↗