[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79DTM8QARFCF64BN8JCV747":3,"skill-same:01M79DTM8QARFCF64BN8JCV747":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":14,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M79DTM8QARFCF64BN8JCV747","gap-analysis",null,"Data Room Gap Analysis skill for Datasite deal rooms. Use this skill whenever a sell-side deal team wants to audit what is missing, sparse, or incomplete in their data room before going live to buyers. Triggers include: \"run a gap analysis\", \"what's missing from the data room\", \"check the data room coverage\", \"flag empty folders\", \"what haven't we uploaded yet\", \"data room readiness check\", \"find gaps before we go live\", \"are all the contracts in there\", \"check we have everything\", or any request to assess completeness of the data room by section. Use this skill proactively whenever a deal team is preparing to launch a data room and wants to know what still needs to be uploaded or organised. Do not use for document quality issues such as PII or redaction (use document-quality-check), or for drafting Q&A responses (use bulk-qa-answers).","zfifteen\u002Fskills-catalog","zfifteen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221906715?v=4","01M79CQFXDZM5J5CJTCECPFA66","Dionisio Alberto Lopez III","01M79CQFY4C62PN8A2T5KDAHGA",1,"MIT","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fgap-analysis\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: gap-analysis\ndescription: >\n  Data Room Gap Analysis skill for Datasite deal rooms. Use this skill whenever a\n  sell-side deal team wants to audit what is missing, sparse, or incomplete in their\n  data room before going live to buyers. Triggers include: \"run a gap analysis\",\n  \"what's missing from the data room\", \"check the data room coverage\", \"flag empty\n  folders\", \"what haven't we uploaded yet\", \"data room readiness check\", \"find gaps\n  before we go live\", \"are all the contracts in there\", \"check we have everything\",\n  or any request to assess completeness of the data room by section. Use this skill\n  proactively whenever a deal team is preparing to launch a data room and wants to\n  know what still needs to be uploaded or organised.\n  Do not use for document quality issues such as PII or redaction (use document-quality-check),\n  or for drafting Q&A responses (use bulk-qa-answers).\nmetadata:\n  author: Blueflame AI\n  version: 1.0.0\n  mcp-server: datasite\n  category: deal-management\n  tags: [datasite, vdr, m&a, gap-analysis, completeness, blueflame]\n---\n\n# Data Room Gap Analysis\n\nYou are helping a sell-side deal team identify what is missing, incomplete, or sparse in their Datasite data room before buyers get access. You produce two outputs: an HTML gap dashboard for team meetings and an Excel gap register for tracking remediation.\n\n---\n\n## Terminology — fileroom vs. folder\n\nUse these terms precisely when communicating with the user:\n\n- **Fileroom** — the single top-level container inside a Datasite project. A project typically has one buyer-facing fileroom. It is not a subject area — it is the container that holds all subject areas.\n- **Folder** — everything inside the fileroom: the subject areas (Financial, Legal, HR, Tax, IP, etc.) and all sub-levels beneath them. Always call these folders, never filerooms.\n\nWhen in doubt: if it is not the single top-level container for the whole project, it is a folder.\n\n\n## Feature Requirements\n\n| Capability | Free | Requires Blueflame |\n|---|:---:|:---:|\n| Structural gap analysis (missing\u002Fempty\u002Fsparse folders) | ✅ | — |\n| Year completeness checks from filenames | ✅ | — |\n| Contract cross-referencing (customer, employee, supplier lists) | — | ✅ |\n| IRL matching (if provided) | — | ✅ |\n\n**Without Blueflame:** Produces a structural gap report — missing sections, empty folders, sparse time-series coverage — based on folder structure and filenames. Contract cross-referencing and IRL matching are skipped.\n\n**With Blueflame:** `searchDocuments` finds customer, employee, and supplier lists inside documents and cross-references them against the contracts folders to identify missing agreements.\n\n\n\n> ⚠️ **Blueflame content guard — two-tier behaviour**\n> `searchDocuments` is the only permitted source of document content.\n> - Do **not** use Claude's training knowledge, general M&A knowledge, or inference from file names for any findings.\n> - **Steps 1–4** (structural gap analysis) use `listFolderContents` only — always free. Complete these regardless of Blueflame status.\n> - **Step 5** (contract cross-referencing) requires `searchDocuments`. When you reach it, attempt one call. If it returns an **activation link** instead of results, **do not discard the structural findings already computed**. Present Steps 1–4 results first, then say:\n>\n>   > \"I've completed the structural gap analysis. Summary: [list top findings per section in plain text — e.g. 'Finance: FY2023 audited accounts missing', 'Legal: litigation schedule absent']. To also cross-reference your customer, employee, and vendor lists against contracts, Blueflame AI search needs to be activated:\n>   > 🔗 **Activate Blueflame:** [activation link]\n>   > **With Blueflame:** I'll read your lists, extract each name, and check whether a signed contract exists — identifying missing or partial coverage.\n>   > Would you like to activate now, or shall I produce the gap report dashboard with structural findings only?\"\n>\n> **Do not generate the HTML dashboard or Excel output until after the user responds to this question.**\n> - All content findings **must** be sourced exclusively from tool results.\n\n> **`listFolderContents` — efficient traversal**\n> - `depth: 1` (default) — immediate children only. Use for targeted lookups.\n> - `depth: 5, foldersOnly: true` (default when depth > 1) — full folder tree in one call, no documents. Use for structural checks.\n> - `depth: 5, foldersOnly: false` — full folder tree including all document metadata in one call. Use when building a document inventory.\n> - When `depth > 1`, the response is a **flat list** with `depth` and `path` columns — not a nested tree.\n\n## Step 1 — Orient yourself\n\nCall `getProjectOverview` to understand the deal: company name, sector, transaction type, deal size, and the fileroom structure. This context shapes what \"complete\" looks like — a SaaS M&A deal needs different coverage than a manufacturing PE deal.\n\nNote the `transactionValue` and `useCase` — these determine:\n- How many years of financials to expect (3 for standard M&A, 5 for large-cap, 2 for early-stage VC)\n- Which sections are mandatory vs. deal-specific\n- How deep the expected folder coverage should be\n\n---\n\n## Step 2 — Check for an Information Request List (IRL)\n\nAsk the user (briefly, in one line): \"Do you have an Information Request List you'd like me to cross-reference? If so, share it and I'll flag what's been delivered vs. outstanding.\"\n\nIf they provide one, read it and extract each requested item. Track these separately — you'll use them in Step 4 to produce a delivered\u002Foutstanding view alongside the structural gap analysis.\n\nIf they don't have one, proceed with the structural analysis only.\n\n---\n\n## Step 3 — Full structural crawl of the data room\n\nUse `listFolderContents` to walk the entire data room, top to bottom. For each fileroom and folder, note:\n\n- **Folder path** (the full VDR index and name, e.g. `3.2 Audited Financial Statements`)\n- **Document count** — how many files are inside\n- **Status**:\n  - ✓ **Populated** — contains at least the expected number of documents\n  - ⚠ **Sparse** — folder exists but has fewer documents than expected for its purpose (e.g. a \"Board Minutes\" folder with only 1 document when 3 years of minutes are expected)\n  - ✗ **Empty** — folder exists but contains no documents at all\n  - ✗ **Missing** — an expected section is entirely absent from the data room structure\n\nUse `listFolderContents` to drill into specific folders where you need a precise document count or list of filenames.\n\n### What counts as \"sparse\"\n\nApply judgment based on what the folder is for:\n- **Audited financials** — expect one document per financial year in scope. Two files where three years are expected = Sparse.\n- **Management accounts** — expect monthly or quarterly files for at least the last 12–24 months. A single file = Sparse.\n- **Tax returns** — expect one return per jurisdiction per year. Missing a year or jurisdiction = Sparse\u002FMissing.\n- **Board minutes** — expect multiple entries per year for at least the last 3 years. One document = Sparse.\n- **Contracts folders** — see Step 4 for cross-referencing logic.\n- **Single-document folders** (e.g. \"Certificate of Incorporation\") — one document is fine.\n\n### Expected sections by deal type\n\nCompare the actual data room structure against what a deal of this type should contain. Flag any top-level sections that are entirely absent:\n\n**Always expected (any M&A\u002FPE deal):**\n- General Information \u002F Corporate (org charts, articles, board minutes, cap table)\n- Finance (audited accounts, management accounts, financial model)\n- Tax (filed returns, correspondence)\n- Legal (litigation schedule, material contracts)\n- HR \u002F Employment (employee list, key employment agreements)\n- IP (ownership documentation, if relevant to the business)\n\n**Expected based on sector:**\n- Technology \u002F SaaS → IP & Software section (open-source inventory, IP assignments, software licence list)\n- Healthcare → Regulatory & Clinical section (licences, CQC\u002FFDA filings)\n- Manufacturing → Plant & Equipment, Environmental sections\n- Financial Services → Regulatory Capital, Client Money sections\n\n**Expected based on transaction type:**\n- M&A sell-side → Closing Documents section\n- Carve-out → Transition Services Agreement section\n- Capital raise → Investor Presentations, Cap Table History\n\n---\n\n## Step 4 — Year completeness checks\n\nFor any folder containing time-series documents (financials, tax returns, management accounts, board minutes), verify year coverage explicitly.\n\nBased on the deal profile:\n- **Last closed financial year = today’s year − 1.** The current calendar year is never closed. In 2026 the last closed year is FY2025; in 2027 it will be FY2026.\n- Standard M&A (mid-market and below) → expect **3 years**: FY[last_closed − 2], FY[last_closed − 1], FY[last_closed] — e.g. in 2026: FY2023, FY2024, FY2025\n- Large-cap (>$500M) → expect **5 years**: FY[last_closed − 4] through FY[last_closed] — e.g. in 2026: FY2021–FY2025\n- Early-stage VC → expect 2 years or inception-to-date\n\nFor each time-series folder, list which years are present and which are missing. Example:\n\n> \"Audited Financial Statements — FY2023 ✓, FY2024 ✓, FY2025 ✗ Missing\"\n> \"Tax Returns — FY2023 ✓, FY2024 ✗ Missing, FY2025 ✗ Missing\"\n\nUse document filenames (visible via `listFolderContents`) to infer which year each document covers. If filenames are unclear, note it as \"year unclear — review needed.\"\n\n---\n\n## Step 5 — Contract completeness cross-referencing\n\nIf the data room contains any of the following lists, cross-reference them against the corresponding contracts folder. Use `searchDocuments` to locate the list documents, then read their contents to extract names.\n\n### Customer \u002F client list → Customer contracts\n\n1. Find the customer list using `searchDocuments` with query \"customer list\" or \"client list\"\n2. Extract customer\u002Fclient names from the document\n3. Search the contracts section for each customer name using `searchDocuments`\n4. Flag any customer where no corresponding contract is found\n\nReport as: \"Contract missing for: [Customer Name]\" — sorted by likely revenue importance if discernible from the list.\n\n### Employee list → Employment agreements\n\n1. Find the employee list using `searchDocuments` with query \"employee list\" or \"staff list\"\n2. Extract names, particularly senior employees (directors, C-suite, managers)\n3. Search the HR\u002FEmployment agreements folder for each name using `searchDocuments`\n4. Flag any senior employee where no employment agreement is found\n\nFocus on senior staff — it is not always expected that every employee has an individual agreement (e.g. employees on standard terms), but directors, C-suite, and named key staff should each have one.\n\nReport as: \"Employment agreement not found for: [Name], [Title]\"\n\n### Supplier \u002F vendor list → Supplier agreements\n\n1. Find the supplier\u002Fvendor list using `searchDocuments` with query \"supplier list\" or \"vendor list\"\n2. Extract key supplier names (focus on material suppliers, not every minor vendor)\n3. Search the contracts\u002Fsupplier agreements folder for each name\n4. Flag material suppliers where no agreement is found\n\nReport as: \"Supplier agreement missing for: [Supplier Name]\"\n\n---\n\n## Step 6 — IRL cross-reference (if provided)\n\nIf the user provided an Information Request List:\n\nFor each IRL item, determine its status:\n- **Delivered** — a document matching the request exists in the data room (use `searchDocuments` to find it); include the VDR path\n- **Partially delivered** — some but not all of what was requested is present (e.g. 2 of 3 requested years)\n- **Outstanding** — nothing matching the request found in the data room\n\nPresent this as a separate table: IRL Item | Status | VDR Location (if delivered) | Gap Description (if outstanding)\n\n---\n\n## Step 7 — Compile all findings\n\nCompile findings into three categories:\n\n**Category 1 — Structural gaps** (missing or empty sections)\n```\n{ area, folder_path, status: \"Missing\"|\"Empty\", severity, note }\n```\n\n**Category 2 — Sparse or incomplete sections**\n```\n{ area, folder_path, status: \"Sparse\", detail, severity }\n```\nFor example: \"Board Minutes — only 1 document found; expect 3 years of minutes\"\n\n**Category 3 — Contract gaps** (from cross-referencing)\n```\n{ type: \"Customer\"|\"Employee\"|\"Supplier\", name, gap_detail, severity }\n```\n\n**Severity:**\n- **High** — a buyer will immediately notice and flag this (missing financials, empty legal section, no employment agreements for directors)\n- **Medium** — material gap that will be raised in diligence but may be explainable (missing one year of management accounts, a minor supplier contract absent)\n- **Low** — minor gap unlikely to be deal-critical (a supporting document absent from an otherwise well-populated folder)\n\n---\n\n## Step 8 — Offer outputs\n\nBefore generating any output, ask:\n\n> \"I've completed the gap analysis. What would you like me to produce?\n> - **HTML dashboard** — interactive gap report with section cards, financial year grid, and Excel export button (uses additional credits to render)\n> - **Plain text summary** — gap findings listed in this conversation, no additional cost\n> - **Both**\"\n\nOnly generate the HTML dashboard and\u002For Excel tracker if the user explicitly requests them. If they choose plain text, go directly to Step 9.\n\n## Step 8b — Produce the HTML dashboard (only if requested)\n\nGenerate a self-contained HTML artifact with the following structure. Include a **\"Download as Excel\"** button in the header that exports all gap data client-side using SheetJS (`https:\u002F\u002Fcdnjs.cloudflare.com\u002Fajax\u002Flibs\u002Fxlsx\u002F0.18.5\u002Fxlsx.full.min.js`). The exported file should match this structure:\n\n**Excel columns (exported on button click):**\n1. **Area \u002F Workstream** — e.g. Finance, Tax, Legal, HR, IP\n2. **Folder \u002F Item** — VDR path or contract name\n3. **Gap Type** — Missing Section \u002F Empty Folder \u002F Sparse \u002F Year Gap \u002F Contract Missing\n4. **Severity** — High \u002F Medium \u002F Low\n5. **Detail** — specific description of the gap\n6. **Recommended Action** — what needs to be uploaded or resolved\n7. **Status** — Open (default)\n\nExcel formatting applied via SheetJS: header row dark blue (`#1a2332`) with white bold text, severity colour coding (High = red, Medium = amber, Low = grey), section separator rows per workstream.\n\nThe dashboard itself:\n\n**Header bar:**\n- Deal name, date of analysis, summary counts: [X] High gaps, [Y] Medium gaps, [Z] Low gaps\n\n**Section scorecard:**\n- One tile per workstream (Finance, Tax, Legal, HR, Commercial, IP, ESG, etc.)\n- Each tile shows: workstream name, gap counts by severity, RAG status:\n  - Red border: any High gap\n  - Amber border: Medium gaps only\n  - Green border: no gaps found\n\n**Year coverage matrix:**\n- A grid showing financial years (columns) vs. document types (rows): Audited Accounts, Management Accounts, Tax Returns, Board Minutes\n- Each cell: ✓ (green) present, ✗ (red) missing, ? (grey) unclear\n\n**Contract completeness summary:**\n- Customer contracts: X of Y found (progress bar)\n- Employment agreements: X of Y found (progress bar)\n- Supplier agreements: X of Y found (progress bar)\n- Below each bar: list of names where no contract was found\n\n**IRL tracker (if IRL was provided):**\n- Delivered \u002F Partial \u002F Outstanding counts as stat cards\n- Table: IRL Item | Status chip | VDR Location or Gap Note\n\n**Detailed gap list:**\n- Filterable by severity and workstream\n- Each row: severity badge, folder path, gap type, detail\n\n**Design:** white background, dark headings, navy\u002Famber\u002Fred\u002Fgreen palette, 12px border-radius cards, no external dependencies.\n\n---\n\n## Step 9 — Deliver to the user\n\nPresent the dashboard and give a brief summary:\n\n> \"I've analysed [N] folders across [M] sections and found [X] High, [Y] Medium, and [Z] Low gaps. The most critical areas are [list top 3]. [If contract cross-referencing ran:] I also cross-referenced [P] customers, [Q] employees, and [R] suppliers — [S] contracts are missing. Use the Download button in the dashboard to export the full gap register as Excel.\"\n\nThen offer:\n> \"Want me to prioritise the remediation list so the team knows what to tackle first before going live?\"\n\n---\n\n## Operating principles\n\n**Be specific, not vague.** \"The Legal section is sparse\" is not useful. \"Legal \u002F Litigation Schedule — folder is empty; no pending claims schedule found\" tells the team exactly what to upload.\n\n**Use filenames to infer content.** Document names in the data room usually reveal what's inside (e.g. \"FY2024 Audited Accounts.pdf\"). Use them to determine year coverage and document type without needing to open every file.\n\n**Calibrate to deal type.** Missing board minutes matter far more in a PE deal with a complex governance story than in a simple asset sale. Adjust severity accordingly.\n\n**Don't penalise intentional omissions.** Some folders may be empty by design (e.g. a \"Closing Documents\" folder at the start of a process). If the folder name suggests it's a placeholder for future content, note it as \"pending — expected later in process\" rather than flagging it as a critical gap.\n\n**Cross-referencing is best-effort.** Customer and employee lists may not always be present or clearly named. If you can't find a list to cross-reference against, say so rather than skipping the check silently.\n\n## Performance Notes\n\n- Work through every section systematically. A missed gap is worse than a false positive — the deal team is relying on this to prepare before buyers get access.\n- Use filenames to infer year coverage rather than opening every document.\n- Be specific: \"Legal \u002F Litigation Schedule — folder is empty\" is useful; \"the Legal section looks thin\" is not.\n\n---\n\n## Common Issues\n\n**`getProjectOverview` fails or returns the wrong project**\nCheck that the Datasite MCP connector is connected (Settings → Extensions → Datasite should show \"Connected\"). If you have multiple projects open, confirm with the user which project to use.\n\n**`listFolderContents` returns no results**\nThe fileroom may be empty or unpublished. Re-run `listFolderContents` without a `metadataId` to list all filerooms from the root. If a fileroom exists but shows 0 documents, the content may not yet be published — note this to the user and proceed with what is available.\n\n**`searchDocuments` returns an activation link instead of results**\nBlueflame AI search is not yet active on this project. Follow the Blueflame prompt in the skill instructions above. Do not attempt to answer using Claude's training knowledge.\n\n**MCP disconnects mid-workflow**\nReconnect via Settings → Extensions → Datasite. Resume from the last completed step — results already gathered do not need to be re-fetched.\n\n**`updateContent` or `createContent` returns a permissions error**\nThe user's Datasite account may not have Editor permissions on this project. Ask them to check their role in Datasite project settings.\n","# Data Room Gap Analysis\n\nYou are helping a sell-side deal team identify what is missing, incomplete, or sparse in their Datasite data room before buyers get access. You produce two outputs: an HTML gap dashboard for team meetings and an Excel gap register for tracking remediation.\n\n---\n\n## Terminology — fileroom vs. folder\n\nUse these terms precisely when communicating with the user:\n\n- **Fileroom** — the single top-level container inside a Datasite project. A project typically has one buyer-facing fileroom. It is not a subject area — it is the container that holds all subject areas.\n- **Folder** — everything inside the fileroom: the subject areas (Financial, Legal, HR, Tax, IP, etc.) and all sub-levels beneath them. Always call these folders, never filerooms.\n\nWhen in doubt: if it is not the single top-level container for the whole project, it is a folder.\n\n\n## Feature Requirements\n\n| Capability | Free | Requires Blueflame |\n|---|:---:|:---:|\n| Structural gap analysis (missing\u002Fempty\u002Fsparse folders) | ✅ | — |\n| Year completeness checks from filenames | ✅ | — |\n| Contract cross-referencing (customer, employee, supplier lists) | — | ✅ |\n| IRL matching (if provided) | — | ✅ |\n\n**Without Blueflame:** Produces a structural gap report — missing sections, empty folders, sparse time-series coverage — based on folder structure and filenames. Contract cross-referencing and IRL matching are skipped.\n\n**With Blueflame:** `searchDocuments` finds customer, employee, and supplier lists inside documents and cross-references them against the contracts folders to identify missing agreements.\n\n\n\n> ⚠️ **Blueflame content guard — two-tier behaviour**\n> `searchDocuments` is the only permitted source of document content.\n> - Do **not** use Claude's training knowledge, general M&A knowledge, or inference from file names for any findings.\n> - **Steps 1–4** (structural gap analysis) use `listFolderContents` only — always free. Complete these regardless of Blueflame status.\n> - **Step 5** (contract cross-referencing) requires `searchDocuments`. When you reach it, attempt one call. If it returns an **activation link** instead of results, **do not discard the structural findings already computed**. Present Steps 1–4 results first, then say:\n>\n>   > \"I've completed the structural gap analysis. Summary: [list top findings per section in plain text — e.g. 'Finance: FY2023 audited accounts missing', 'Legal: litigation schedule absent']. To also cross-reference your customer, employee, and vendor lists against contracts, Blueflame AI search needs to be activated:\n>   > 🔗 **Activate Blueflame:** [activation link]\n>   > **With Blueflame:** I'll read your lists, extract each name, and check whether a signed contract exists — identifying missing or partial coverage.\n>   > Would you like to activate now, or shall I produce the gap report dashboard with structural findings only?\"\n>\n> **Do not generate the HTML dashboard or Excel output until after the user responds to this question.**\n> - All content findings **must** be sourced exclusively from tool results.\n\n> **`listFolderContents` — efficient traversal**\n> - `depth: 1` (default) — immediate children only. Use for targeted lookups.\n> - `depth: 5, foldersOnly: true` (default when depth > 1) — full folder tree in one call, no documents. Use for structural checks.\n> - `depth: 5, foldersOnly: false` — full folder tree including all document metadata in one call. Use when building a document inventory.\n> - When `depth > 1`, the response is a **flat list** with `depth` and `path` columns — not a nested tree.\n\n## Step 1 — Orient yourself\n\nCall `getProjectOverview` to understand the deal: company name, sector, transaction type, deal size, and the fileroom structure. This context shapes what \"complete\" looks like — a SaaS M&A deal needs different coverage than a manufacturing PE deal.\n\nNote the `transactionValue` and `useCase` — these determine:\n- How many years of financials to expect (3 for standard M&A, 5 for large-cap, 2 for early-stage VC)\n- Which sections are mandatory vs. deal-specific\n- How deep the expected folder coverage should be\n\n---\n\n## Step 2 — Check for an Information Request List (IRL)\n\nAsk the user (briefly, in one line): \"Do you have an Information Request List you'd like me to cross-reference? If so, share it and I'll flag what's been delivered vs. outstanding.\"\n\nIf they provide one, read it and extract each requested item. Track these separately — you'll use them in Step 4 to produce a delivered\u002Foutstanding view alongside the structural gap analysis.\n\nIf they don't have one, proceed with the structural analysis only.\n\n---\n\n## Step 3 — Full structural crawl of the data room\n\nUse `listFolderContents` to walk the entire data room, top to bottom. For each fileroom and folder, note:\n\n- **Folder path** (the full VDR index and name, e.g. `3.2 Audited Financial Statements`)\n- **Document count** — how many files are inside\n- **Status**:\n  - ✓ **Populated** — contains at least the expected number of documents\n  - ⚠ **Sparse** — folder exists but has fewer documents than expected for its purpose (e.g. a \"Board Minutes\" folder with only 1 document when 3 years of minutes are expected)\n  - ✗ **Empty** — folder exists but contains no documents at all\n  - ✗ **Missing** — an expected section is entirely absent from the data room structure\n\nUse `listFolderContents` to drill into specific folders where you need a precise document count or list of filenames.\n\n### What counts as \"sparse\"\n\nApply judgment based on what the folder is for:\n- **Audited financials** — expect one document per financial year in scope. Two files where three years are expected = Sparse.\n- **Management accounts** — expect monthly or quarterly files for at least the last 12–24 months. A single file = Sparse.\n- **Tax returns** — expect one return per jurisdiction per year. Missing a year or jurisdiction = Sparse\u002FMissing.\n- **Board minutes** — expect multiple entries per year for at least the last 3 years. One document = Sparse.\n- **Contracts folders** — see Step 4 for cross-referencing logic.\n- **Single-document folders** (e.g. \"Certificate of Incorporation\") — one document is fine.\n\n### Expected sections by deal type\n\nCompare the actual data room structure against what a deal of this type should contain. Flag any top-level sections that are entirely absent:\n\n**Always expected (any M&A\u002FPE deal):**\n- General Information \u002F Corporate (org charts, articles, board minutes, cap table)\n- Finance (audited accounts, management accounts, financial model)\n- Tax (filed returns, correspondence)\n- Legal (litigation schedule, material contracts)\n- HR \u002F Employment (employee list, key employment agreements)\n- IP (ownership documentation, if relevant to the business)\n\n**Expected based on sector:**\n- Technology \u002F SaaS → IP & Software section (open-source inventory, IP assignments, software licence list)\n- Healthcare → Regulatory & Clinical section (licences, CQC\u002FFDA filings)\n- Manufacturing → Plant & Equipment, Environmental sections\n- Financial Services → Regulatory Capital, Client Money sections\n\n**Expected based on transaction type:**\n- M&A sell-side → Closing Documents section\n- Carve-out → Transition Services Agreement section\n- Capital raise → Investor Presentations, Cap Table History\n\n---\n\n## Step 4 — Year completeness checks\n\nFor any folder containing time-series documents (financials, tax returns, management accounts, board minutes), verify year coverage explicitly.\n\nBased on the deal profile:\n- **Last closed financial year = today’s year − 1.** The current calendar year is never closed. In 2026 the last closed year is FY2025; in 2027 it will be FY2026.\n- Standard M&A (mid-market and below) → expect **3 years**: FY[last_closed − 2], FY[last_closed − 1], FY[last_closed] — e.g. in 2026: FY2023, FY2024, FY2025\n- Large-cap (>$500M) → expect **5 years**: FY[last_closed − 4] through FY[last_closed] — e.g. in 2026: FY2021–FY2025\n- Early-stage VC → expect 2 years or inception-to-date\n\nFor each time-series folder, list which years are present and which are missing. Example:\n\n> \"Audited Financial Statements — FY2023 ✓, FY2024 ✓, FY2025 ✗ Missing\"\n> \"Tax Returns — FY2023 ✓, FY2024 ✗ Missing, FY2025 ✗ Missing\"\n\nUse document filenames (visible via `listFolderContents`) to infer which year each document covers. If filenames are unclear, note it as \"year unclear — review needed.\"\n\n---\n\n## Step 5 — Contract completeness cross-referencing\n\nIf the data room contains any of the following lists, cross-reference them against the corresponding contracts folder. Use `searchDocuments` to locate the list documents, then read their contents to extract names.\n\n### Customer \u002F client list → Customer contracts\n\n1. Find the customer list using `searchDocuments` with query \"customer list\" or \"client list\"\n2. Extract customer\u002Fclient names from the document\n3. Search the contracts section for each customer name using `searchDocuments`\n4. Flag any customer where no corresponding contract is found\n\nReport as: \"Contract missing for: [Customer Name]\" — sorted by likely revenue importance if discernible from the list.\n\n### Employee list → Employment agreements\n\n1. Find the employee list using `searchDocuments` with query \"employee list\" or \"staff list\"\n2. Extract names, particularly senior employees (directors, C-suite, managers)\n3. Search the HR\u002FEmployment agreements folder for each name using `searchDocuments`\n4. Flag any senior employee where no employment agreement is found\n\nFocus on senior staff — it is not always expected that every employee has an individual agreement (e.g. employees on standard terms), but directors, C-suite, and named key staff should each have one.\n\nReport as: \"Employment agreement not found for: [Name], [Title]\"\n\n### Supplier \u002F vendor list → Supplier agreements\n\n1. Find the supplier\u002Fvendor list using `searchDocuments` with query \"supplier list\" or \"vendor list\"\n2. Extract key supplier names (focus on material suppliers, not every minor vendor)\n3. Search the contracts\u002Fsupplier agreements folder for each name\n4. Flag material suppliers where no agreement is found\n\nReport as: \"Supplier agreement missing for: [Supplier Name]\"\n\n---\n\n## Step 6 — IRL cross-reference (if provided)\n\nIf the user provided an Information Request List:\n\nFor each IRL item, determine its status:\n- **Delivered** — a document matching the request exists in the data room (use `searchDocuments` to find it); include the VDR path\n- **Partially delivered** — some but not all of what was requested is present (e.g. 2 of 3 requested years)\n- **Outstanding** — nothing matching the request found in the data room\n\nPresent this as a separate table: IRL Item | Status | VDR Location (if delivered) | Gap Description (if outstanding)\n\n---\n\n## Step 7 — Compile all findings\n\nCompile findings into three categories:\n\n**Category 1 — Structural gaps** (missing or empty sections)\n```\n{ area, folder_path, status: \"Missing\"|\"Empty\", severity, note }\n```\n\n**Category 2 — Sparse or incomplete sections**\n```\n{ area, folder_path, status: \"Sparse\", detail, severity }\n```\nFor example: \"Board Minutes — only 1 document found; expect 3 years of minutes\"\n\n**Category 3 — Contract gaps** (from cross-referencing)\n```\n{ type: \"Customer\"|\"Employee\"|\"Supplier\", name, gap_detail, severity }\n```\n\n**Severity:**\n- **High** — a buyer will immediately notice and flag this (missing financials, empty legal section, no employment agreements for directors)\n- **Medium** — material gap that will be raised in diligence but may be explainable (missing one year of management accounts, a minor supplier contract absent)\n- **Low** — minor gap unlikely to be deal-critical (a supporting document absent from an otherwise well-populated folder)\n\n---\n\n## Step 8 — Offer outputs\n\nBefore generating any output, ask:\n\n> \"I've completed the gap analysis. What would you like me to produce?\n> - **HTML dashboard** — interactive gap report with section cards, financial year grid, and Excel export button (uses additional credits to render)\n> - **Plain text summary** — gap findings listed in this conversation, no additional cost\n> - **Both**\"\n\nOnly generate the HTML dashboard and\u002For Excel tracker if the user explicitly requests them. If they choose plain text, go directly to Step 9.\n\n## Step 8b — Produce the HTML dashboard (only if requested)\n\nGenerate a self-contained HTML artifact with the following structure. Include a **\"Download as Excel\"** button in the header that exports all gap data client-side using SheetJS (`https:\u002F\u002Fcdnjs.cloudflare.com\u002Fajax\u002Flibs\u002Fxlsx\u002F0.18.5\u002Fxlsx.full.min.js`). The exported file should match this structure:\n\n**Excel columns (exported on button click):**\n1. **Area \u002F Workstream** — e.g. Finance, Tax, Legal, HR, IP\n2. **Folder \u002F Item** — VDR path or contract name\n3. **Gap Type** — Missing Section \u002F Empty Folder \u002F Sparse \u002F Year Gap \u002F Contract Missing\n4. **Severity** — High \u002F Medium \u002F Low\n5. **Detail** — specific description of the gap\n6. **Recommended Action** — what needs to be uploaded or resolved\n7. **Status** — Open (default)\n\nExcel formatting applied via SheetJS: header row dark blue (`#1a2332`) with white bold text, severity colour coding (High = red, Medium = amber, Low = grey), section separator rows per workstream.\n\nThe dashboard itself:\n\n**Header bar:**\n- Deal name, date of analysis, summary counts: [X] High gaps, [Y] Medium gaps, [Z] Low gaps\n\n**Section scorecard:**\n- One tile per workstream (Finance, Tax, Legal, HR, Commercial, IP, ESG, etc.)\n- Each tile shows: workstream name, gap counts by severity, RAG status:\n  - Red border: any High gap\n  - Amber border: Medium gaps only\n  - Green border: no gaps found\n\n**Year coverage matrix:**\n- A grid showing financial years (columns) vs. document types (rows): Audited Accounts, Management Accounts, Tax Returns, Board Minutes\n- Each cell: ✓ (green) present, ✗ (red) missing, ? (grey) unclear\n\n**Contract completeness summary:**\n- Customer contracts: X of Y found (progress bar)\n- Employment agreements: X of Y found (progress bar)\n- Supplier agreements: X of Y found (progress bar)\n- Below each bar: list of names where no contract was found\n\n**IRL tracker (if IRL was provided):**\n- Delivered \u002F Partial \u002F Outstanding counts as stat cards\n- Table: IRL Item | Status chip | VDR Location or Gap Note\n\n**Detailed gap list:**\n- Filterable by severity and workstream\n- Each row: severity badge, folder path, gap type, detail\n\n**Design:** white background, dark headings, navy\u002Famber\u002Fred\u002Fgreen palette, 12px border-radius cards, no external dependencies.\n\n---\n\n## Step 9 — Deliver to the user\n\nPresent the dashboard and give a brief summary:\n\n> \"I've analysed [N] folders across [M] sections and found [X] High, [Y] Medium, and [Z] Low gaps. The most critical areas are [list top 3]. [If contract cross-referencing ran:] I also cross-referenced [P] customers, [Q] employees, and [R] suppliers — [S] contracts are missing. Use the Download button in the dashboard to export the full gap register as Excel.\"\n\nThen offer:\n> \"Want me to prioritise the remediation list so the team knows what to tackle first before going live?\"\n\n---\n\n## Operating principles\n\n**Be specific, not vague.** \"The Legal section is sparse\" is not useful. \"Legal \u002F Litigation Schedule — folder is empty; no pending claims schedule found\" tells the team exactly what to upload.\n\n**Use filenames to infer content.** Document names in the data room usually reveal what's inside (e.g. \"FY2024 Audited Accounts.pdf\"). Use them to determine year coverage and document type without needing to open every file.\n\n**Calibrate to deal type.** Missing board minutes matter far more in a PE deal with a complex governance story than in a simple asset sale. Adjust severity accordingly.\n\n**Don't penalise intentional omissions.** Some folders may be empty by design (e.g. a \"Closing Documents\" folder at the start of a process). If the folder name suggests it's a placeholder for future content, note it as \"pending — expected later in process\" rather than flagging it as a critical gap.\n\n**Cross-referencing is best-effort.** Customer and employee lists may not always be present or clearly named. If you can't find a list to cross-reference against, say so rather than skipping the check silently.\n\n## Performance Notes\n\n- Work through every section systematically. A missed gap is worse than a false positive — the deal team is relying on this to prepare before buyers get access.\n- Use filenames to infer year coverage rather than opening every document.\n- Be specific: \"Legal \u002F Litigation Schedule — folder is empty\" is useful; \"the Legal section looks thin\" is not.\n\n---\n\n## Common Issues\n\n**`getProjectOverview` fails or returns the wrong project**\nCheck that the Datasite MCP connector is connected (Settings → Extensions → Datasite should show \"Connected\"). If you have multiple projects open, confirm with the user which project to use.\n\n**`listFolderContents` returns no results**\nThe fileroom may be empty or unpublished. Re-run `listFolderContents` without a `metadataId` to list all filerooms from the root. If a fileroom exists but shows 0 documents, the content may not yet be published — note this to the user and proceed with what is available.\n\n**`searchDocuments` returns an activation link instead of results**\nBlueflame AI search is not yet active on this project. Follow the Blueflame prompt in the skill instructions above. Do not attempt to answer using Claude's training knowledge.\n\n**MCP disconnects mid-workflow**\nReconnect via Settings → Extensions → Datasite. Resume from the last completed step — results already gathered do not need to be re-fetched.\n\n**`updateContent` or `createContent` returns a permissions error**\nThe user's Datasite account may not have Editor permissions on this project. Ask them to check their role in Datasite project settings.\n",{"name":5,"metadata":24,"description":34},{"tags":25,"author":31,"version":32,"category":33,"mcp-server":26},[26,27,28,5,29,30],"datasite","vdr","m&a","completeness","blueflame","Blueflame AI","1.0.0","deal-management","Data Room Gap Analysis skill for Datasite deal rooms. Use this skill whenever a sell-side deal team wants to audit what is missing, sparse, or incomplete in their data room before going live to buyers. Triggers include: \"run a gap analysis\", \"what's missing from the data room\", \"check the data room coverage\", \"flag empty folders\", \"what haven't we uploaded yet\", \"data room readiness check\", \"find gaps before we go live\", \"are all the contracts in there\", \"check we have everything\", or any request to assess completeness of the data room by section. Use this skill proactively whenever a deal team is preparing to launch a data room and wants to know what still needs to be uploaded or organised. Do not use for document quality issues such as PII or redaction (use document-quality-check), or for drafting Q&A responses (use bulk-qa-answers).\n","main","d9535210da9af28aa76bca80de80355197e1b6d6","skills\u002Fgap-analysis","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog","https:\u002F\u002Fgithub.com\u002Fzfifteen","I like to measure things.","2026-07-19 23:41:54",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add zfifteen\u002Fskills-catalog --skill gap-analysis",{"tool":48,"command":49},"bunx","bunx skills add zfifteen\u002Fskills-catalog --skill gap-analysis",{"tool":51,"command":52},"pnpm","pnpm dlx skills add zfifteen\u002Fskills-catalog --skill gap-analysis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fgap-analysis\u002FSKILL.md",true,[56],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"agents\u002Fopenai.yaml","REFERENCE","参考文档",206,"https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fgap-analysis\u002Fagents\u002Fopenai.yaml",[63,70,77,84,93,100],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M79GXQ2PWPT2E4CJYHXVJ0YE","Zotero","Use Zotero Desktop from Codex to enable\u002Fprobe the local API, search a local Zotero library, list items\u002Fcollections\u002Ftags, export BibTeX, insert citation keys into LaTeX or Markdown drafts, read indexed full text when requested, and import BibTeX\u002FRIS records into Zotero through the connector server. Use when the user mentions Zotero, citations, references.bib, BibTeX export, local Zotero API, localhost:23119, or adding citations from a Zotero library.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fzotero\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M79GXN85NETKBE06865CWK6Z","zoom-apps-sdk","Use when using Apps SDK.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M79GXCYD7FGYS932J9N9RFFY","youtube","Obtain accurate, timestamped YouTube video transcripts (preferring manual captions over auto-generated) as the primary deliverable, then derive summaries, key claims, or notes from that transcript.  Use when the user provides a YouTube URL (or video ID) and wants the transcript, a faithful summary, key claims with attribution, timestamped notes, or \"what does this video actually say\".  The skill is transcript-first: never substitute metadata, title, description, or search snippets for the spoken content.  Triggers: \"youtube transcript\", \"get the transcript of this video\", \"summarize this youtube video\", \"what did they say in https:\u002F\u002Fyoutube.com\u002F...\", \"key claims from this talk\".","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79GX8EXHHYM566BKR7MS778","yeet","Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M79GX2HFJPX84NMRE5VBTYX9","x-post-creator","Create X-ready post threads and co-located story packages from the active conversation or referenced project material. Use when the user says turn this into an X-post, \u002Fx-post, make this into an X thread, or wants plain-language social posts with supporting images saved to docs\u002Fx-posts\u002F[story-name]\u002F.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fx-post-creator\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M79GWXQT4HBT6QME6QSBZJFA","x-api","Search, read, and write X posts through the local X API MCP server (the same backend used by the Codex x-api skill). Use for searching X\u002Fx.com, reading threads and replies, creating lists, staging\u002Fpublishing posts for @alltheputs, finding high-visibility reply targets for research outreach, ingesting public context, or any request that mentions \u002Fx-api or \"search X\".","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]