knowledge-framework
Auto-applies MECE/BFO framework (thesis, Mermaid TD/LR, numbered sections, Ground Truth) to ANY .md file creation.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Auto-applies MECE/BFO framework (thesis, Mermaid TD/LR, numbered sections, Ground Truth) to ANY .md file creation.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Open-source multi-channel campaign launcher. Orchestrates marketing experiments from ICP/positioning input through planning, creative production, and parallel channel launch (Google Ads, Meta Ads, email outreach). No proprietary infrastructure required — works with your own API keys. Use when user says "launch campaign", "campaign launcher", "experiment launch", "multi-channel campaign", "plan and launch experiment".
Use when user says "resume session", "what did I work on", or "find conversation about [topic]". Automatically searches, resumes, and analyzes Claude Code sessions. Handles session discovery, content search, and automatic session restoration from any directory.
Generate a CMO Cross-Channel Performance Dashboard — funnel-stage executive view of marketing spend, pull-through, and per-channel efficiency across Meta, Google, LinkedIn, TikTok, Reddit, TTD, and the Discovery API long tail. Single-screen, three-tab layout (Overview / Channels / Customer Journey) with reactive filter bar (period × channel × conversion event × attribution model). Warehouse-first (ClickHouse `_all_data` views) with Discovery API fallback for channels not in the warehouse; all data from real sources. Built via /business-intelligence-editor as ONE custom-component widget that contains the entire dashboard.
Generate a Daily Performance Console — multi-channel operational dashboard for performance marketers. Blended KPI strip (Spend / Impressions / Clicks / CTR / Conversions / CPA / CR / ROAS), per-channel split with health flags, universal trend chart with date / metric / channel filters, and three tabs (Warnings / Recommendations / Monthly Pacing). Discovery API only, all data live. Built via /business-intelligence-editor as ONE custom-component widget that contains the entire console.
AUTO-INVOKE when user asks to see, fetch, or check current/live/real-time data from any ad platform (Facebook/Meta, Google Ads, TikTok, LinkedIn, Pinterest, Bing, Snap, X, GA4, Google Sheets, etc.), inspect ad accounts/campaigns/ads, pull insights directly from a platform, or any task that requires calling `discoveryRequestTool`, `discoveryListConnectorsTool`, or `discoveryListAccountsTool`. Trigger phrases include: "current campaigns", "live data", "real-time metrics", "show me platform-name ads", "fetch from platform-name API", "what's in my platform-name", "check platform-name insights". Use BEFORE any direct platform API call — the skill defines the mandatory URL/version protocol.
Field mapping and data extraction setup - find report types and validate fields
| name | knowledge-framework |
| description | Auto-applies MECE/BFO framework (thesis, Mermaid TD/LR, numbered sections, Ground Truth) to ANY .md file creation. |
Core Principle: Write documentation like code - fractal structure where each abstraction level is complete, MECE-organized, with zero redundancy with links to source for ground truth.
Documentation Framework Structure (Continuant - TD):
graph TD
Thesis[Minto Thesis: 1 Sentence] --> Overview[Overview: 1 Paragraph]
Overview --> Diagrams[Mermaid: TD + LR]
Diagrams --> TD[TD: Structure/Continuants]
Diagrams --> LR[LR: Process/Occurrents]
TD --> MECE[MECE Sections 1.0-7.0]
LR --> MECE
MECE --> Details[¶1, ¶2, ¶3 Fractal Details]
GroundTruth[Ground Truth: Sources + Dates] --> MECE
GroundTruth --> Details
Ontological Rule: TD for Continuants (what exists), LR for Occurrents (what happens)
Primary source: ~/projects/chrome-extension-tcs/How to organize documents_knowladge_framework.md
Original session: e9ce3592-bd66-4a98-b0e7-fcdd8edb5d42 by Daniel Kravtsov (2025-11-13) - v1.0.0 Initial
Latest update: e9ce3592-bd66-4a98-b0e7-fcdd8edb5d42 by Daniel Kravtsov (2025-11-13) - v1.1.0 Mermaid headers
Release log: See SKILL_RELEASE_LOG.md for full version history
¶1 Minimal Verbosity: Use minimum text and tokens, but enough for another AI agent or human to execute task or understand document.
¶2 Minto Principle: Top-to-bottom structure - thesis → overview → sections → details.
¶3 MECE (Mutually Exclusive, Collectively Exhaustive): Sections don't overlap, but cover everything.
¶4 Mermaid Diagrams: Quick visual explanation of core concepts.
¶5 Fractal Structure: Each level mirrors the whole - subsections follow same 1-sentence → mermaid diagrams (1 or 3 if complex) → 1-paragraph → details pattern.
¶6 DRY (Don't Repeat Yourself): Each fact appears exactly ONCE. Reference, don't duplicate.
¶7 Ground Truth (CRITICAL): EVERY piece of information MUST have traceable source attribution. See §"Ground Truth Attribution Rules" for mandatory patterns.
(Try not to use terms like "MECE", "fractal", "DRY" in the doc itself. These are internal terms - docs should focus on subject content, not metadata about doc creation.)
Core Rule: Look for the NATURAL structure of your content, don't force a template
🧬 BFO Ontology (Highest Level): Use formal ontology categories to separate WHAT EXISTS from WHAT HAPPENS:
¶1 Continuants (Things that exist):
graph TD (top-down hierarchy)¶2 Occurrents (Things that happen):
graph LR (left-right sequence)📊 Practical Structures:
Key: BFO ensures your categories reflect reality's actual structure. The TRUE structure makes the document write itself.
¶1 Diagram Headers (REQUIRED):
**[Specific Description] ([Type] - [Direction]):****Skill Package Structure (Continuant - TD):** (specific to skill-creator)**Data Pipeline Workflow (Occurrent - LR):** (specific to ETL system)**System Structure:** (too generic, no type/direction)¶2 Why Two Diagrams Minimum, but if subject is complex, you 3 diagrams:
¶3 Continuant Diagram (Structure/Architecture):
graph TD or graph TB (top-down/top-bottom vertical hierarchy)**Customer Data Model (Continuant - TD):**¶3.1 Vertical Layout for Readability (TD/TB):
Root --> Category1 --> [Item1<br/>Item2] groups items in single node with line breaksstyle declarations for visual hierarchy (categories darker, items lighter)¶4 Occurrent Diagram (Process/Flow):
graph LR (left-right sequence)**ETL Pipeline Execution (Occurrent - LR):**¶5 Participation Diagram (How Continuants participate in Occurrents) - OPTIONAL:
graph TD or graph LR depending on emphasis**User-Pipeline Interaction (Participation - TD):**¶1 Mandatory Diagram Gate:
¶2 Placement:
¶3 Size and Labeling:
¶4 DRY Principle:
Core Rule: Every piece of information in documentation MUST be traceable to its source. This enables verification, trust, updates, and audit trails.
¶1 External articles/research:
**Source:** [Article Title](URL) (accessed YYYY-MM-DD)
**Key insight from:** Author Name, "Article Title", Publication, Date
¶2 Code references:
**Source:** `path/to/file.py:123-145` (function `calculate_metrics`)
**Implementation:** See `db_utils.py:67` for connection logic
¶3 Claude Code session results:
**Generated by:** Claude Code session `abc123xyz` by Daniel Kravtsov (2025-11-10)
**Session ID:** Get via `python data_sources/claude_code/get_session_id.py --quiet`
**Context:** Analysis of customer churn patterns based on §2.1, §2.3
¶4 LLM reasoning/analysis:
**LLM Analysis:** Based on ¶1 (customer data patterns) and ¶3 (usage metrics)
**Reasoning chain:** Combined insights from sections §1.2 + §3.1 to derive conclusion
**Note:** This is synthesized analysis, not direct source data
¶5 Database query results:
**Query:** `ch_query.py "SELECT COUNT(*) FROM internal_analytics.dim_agencies"` (2025-11-10)
**Result:** 1,247 active agencies as of query date
¶6 Human expert input:
**Expert input:** Iuliia Kholodova (Product Manager), discussed 2025-11-10
**Decision context:** Based on customer feedback from Notion ticket N-12345
¶7 Meeting notes/calls:
**Source:** Gong call ID `gong_123456` with Customer name (2025-10-15)
**Transcript:** See `/calls/2025-10-15/transcript.txt`
**Key decision:** Client requested ROAS optimization (timestamp 15:30)
¶1 Document-level: Add primary source in Overview paragraph immediately after thesis
## Overview
[Thesis and overview text...]
**Primary source:** [Main reference] (accessed date)
¶2 Section-level: Add source at start of section if entire section derives from single source
### 2.1 Customer Segmentation
**Source:** Internal analysis by Daniel Kravtsov, Claude Code session `xyz789` (2025-11-10)
¶1 [Content...]
¶3 Paragraph-level: Inline attribution for specific facts or claims
¶3 The customer churn rate is 12% annually (**Source:** `SELECT AVG(churn_rate) FROM metrics.customer_health` query 2025-11-10). This represents...
¶4 Mixed sources: When paragraph combines multiple sources, attribute each piece
¶2 Customer satisfaction scores averaged 8.7/10 (**Source:** Zendesk report Q4-2025), while NPS remained at 45 (**Source:** internal survey `surveys/nps_q4.csv`). The correlation (**LLM analysis:** based on these two metrics) suggests...
¶1 URLs must be accessible: Test all external links - use archive.org snapshot if original may disappear
¶2 Code references must be precise: Include line numbers or function names, not just file paths
¶3 Session IDs must be retrievable: Use python data_sources/claude_code/get_session_id.py --quiet to get current session
¶4 Dates are mandatory: Every source attribution MUST include date (YYYY-MM-DD format)
¶5 Query results include timestamp: Database queries should note execution date/time since data changes
❌ Vague attribution: "Based on research" → ✅ "Based on Gartner Report 2025 (URL, accessed 2025-11-10)"
❌ No source for claims: "Customers prefer X" → ✅ "Customers prefer X (Source: Survey results surveys/pref_2025.csv)"
❌ Missing LLM reasoning flag: Presenting synthesis as fact → ✅ "LLM Analysis: Combined §1.2 + §3.1"
❌ Code without location: "See the function" → ✅ "See utils.py:145 function calculate_total"
❌ Outdated sources: Link from 2020 without noting if still valid → ✅ Include access date and freshness note
Structure:
Content Quality:
Ground Truth (CRITICAL):