技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
glean-prod-checklist【数据与研究】Pre-launch: All datasources indexed and searchable. Trigger: "glean prod checklist", "prod-checklist".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: glean-prod-checklist description: 'Pre-launch: All datasources indexed and searchable.
Trigger: "glean prod checklist", "prod-checklist".
' allowed-tools: Read, Write, Edit, Bash(npm:), Bash(curl:), Grep version: 1.8.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io tags:
Glean provides enterprise search across all company data sources with AI-powered ranking and document understanding. A production integration requires all connectors indexed, document permissions correctly mapped, and search quality validated. Failures mean employees find stale documents, see content they lack permission for, or get zero results when data exists.
GLEAN_API_KEY stored in secrets manager (not config files)https://api.glean.com/v1)async function checkGleanReadiness(): Promise<void> {
const checks: { name: string; pass: boolean; detail: string }[] = [];
// Search API connectivity
try {
const res = await fetch('https://api.glean.com/v1/search', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.GLEAN_API_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({ query: 'test', pageSize: 1 }),
});
checks.push({ name: 'Search API', pass: res.ok, detail: res.ok ? 'Connected' : `HTTP ${res.status}` });
} catch (e: any) { checks.push({ name: 'Search API', pass: false, detail: e.message }); }
// Credentials present
checks.push({ name: 'API Key Set', pass: !!process.env.GLEAN_API_KEY, detail: process.env.GLEAN_API_KEY ? 'Present' : 'MISSING' });
// Indexing API connectivity
try {
const res = await fetch('https://api.glean.com/v1/index/status', {
headers: { Authorization: `Bearer ${process.env.GLEAN_API_KEY}` },
});
checks.push({ name: 'Indexing API', pass: res.ok, detail: res.ok ? 'Accessible' : `HTTP ${res.status}` });
} catch (e: any) { checks.push({ name: 'Indexing API', pass: false, detail: e.message }); }
for (const c of checks) console.log(`[${c.pass ? 'PASS' : 'FAIL'}] ${c.name}: ${c.detail}`);
}
checkGleanReadiness();
| Check | Risk if Skipped | Priority |
|---|---|---|
| Permission mapping | Users see unauthorized documents | P1 |
| Connector sync monitoring | Stale search results across org | P1 |
| API key rotation | Expired key halts indexing pipeline | P2 |
| Zero-result tracking | Employees lose trust in search | P2 |
| Index count monitoring | Silent data source disconnection | P3 |
Create a production readiness receipt with revision, canary source, health/freshness/error results, allow/deny evidence, owner approvals, outcome, and rollback reference. It must not include secrets, queries, or indexed content.
revision=r44; canary=sandbox-guides; health=pass; freshness=pass; errors=within-budget; allow=pass; deny=pass; outcome=promote is a complete canary decision.
See glean-security-basics for document permission mapping and access control.