Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

internal-surface-areas内表面积

Agent Skill

internal-surface-areas 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

629

周安装

27

GitHub Stars

1,093

下载量

220
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:internal-surface-areas(内表面积)
来源仓库:https://github.com/inkeep/agents
仓库路径:skills/internal-surface-areas
安装命令:
npx skills add https://github.com/inkeep/agents --skill internal-surface-areas
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/inkeep/agents --skill internal-surface-areas

简介

内表面积技能梳理 monorepo 技术栈构成,涵盖 CI/CD、类型系统与安全基建。

  • 适用于 Codex、Claude 等宿主理解复杂项目结构与依赖关系。
  • 提供 95 个表面目录分类,覆盖构建、测试、部署全流程组件。
  • 输出依赖图与配置边界说明,辅助开发者快速定位问题源头。
  • 建议结合具体项目调整分类粒度,避免信息过载影响可读性。

SKILL.md

Inkeep Internal Surface Area Inventory

Overview

This is a consolidated inventory of internal “surface areas”: subsystems, infrastructure, tooling, and shared code that developers/operators interact with, but which are not directly customer-facing contracts. Use it during planning or PR review to understand internal dependency chains (what breaks when X changes) and to avoid accidental workflow/build/test/deploy regressions.

Companion skills: For *who* is affected and how changes propagate per audience, load audience-impact. For customer-facing surfaces, load product-surface-areas.

Summary

CategoryCount
Build & Package Graph5
Developer Workflow & Quality Gates7
CI/CD Pipelines14
Test Infrastructure4
Environment & Configuration5
Docker & Deployment Artifacts5
Database Schemas & Migrations7
Database Clients & Data Access Layer6
Validation & Shared Runtime Types3
Authentication & Authorization Infrastructure6
Observability Infrastructure5
Runtime Engine (Agent Execution & Streaming)14
Tool Execution Sandboxes4
AI Development Tooling7
Package Publishing & Versioning3
Total95

Surface Catalog

Build & Package Graph

Developer/operator goal: build, link, and resolve monorepo dependencies deterministically.

SurfaceDescriptionDepends OnSource Code
pnpm workspace & dependency catalogDefines the workspace package set and the lockfile/patch behavior used by all installs and CI runs.pnpm-workspace.yaml, pnpm-lock.yaml, patches/
Root monorepo scriptsCanonical pnpm script entry points that orchestrate Turbo tasks, linting, tests, DB tooling, and release flows.pnpm workspace & dependency catalogpackage.json, scripts/
Turborepo task graphCross-package task DAG (build/dev/test/lint/typecheck/db) including cache inputs/outputs and env propagation.pnpm workspace & dependency catalog, Root monorepo scriptsturbo.json
TypeScript project configsTypeScript compiler configuration boundaries and shared settings used across packages and tooling.pnpm workspace & dependency catalogagents-api/tsconfig.json, agents-cli/tsconfig.json, agents-manage-ui/tsconfig.json, agents-docs/tsconfig.json, packages/agents-core/tsconfig.json, packages/agents-sdk/tsconfig.json
tsdown build configsBundling configuration used to produce consistent package outputs (formats, externals, d.ts) in CI and local builds.Turborepo task graph, TypeScript project configstsdown.config.ts, agents-api/tsdown.config.ts, packages/agents-core/tsdown.config.ts

Developer Workflow & Quality Gates

Developer/operator goal: enforce consistent style and catch regressions early during development.

SurfaceDescriptionDepends OnSource Code
Biome lint/format configsRoot Biome config (rules, formatting, ignores) extended by per-package overrides; enforced locally and in CI.pnpm workspace & dependency catalogbiome.jsonc, agents-cli/biome.json, agents-docs/biome.json, agents-manage-ui/biome.json, agents-ui/biome.json, packages/agents-core/biome.json, packages/agents-sdk/biome.json, packages/create-agents/biome.json
Husky git hooksPre-commit and pre-push hooks that run staged checks and broader validation prior to pushing.Root monorepo scripts, lint-staged checks.husky/pre-commit, .husky/pre-push
lint-staged checksStaged-file pipeline that runs Biome fixes, targeted tests, and AI artifact validation for fast feedback.Biome lint/format configs, AI artifact validation script, Package-level Vitest configs & setuppackage.json (lint-staged), scripts/validate-ai-artifacts.ts
License sync automationKeeps LICENSE and supplemental terms consistent across packages and fails CI when drift is detected.Root monorepo scripts, Turborepo task graphscripts/sync-licenses.mjs, turbo.json
Knip dependency/exports analysisStatic analysis to detect unused dependencies/exports/files as part of the main check suite.pnpm workspace & dependency catalog, TypeScript project configs, Root monorepo scriptsagents-api/knip.config.ts, agents-manage-ui/knip.config.ts, agents-docs/knip.config.ts, agents-cookbook/knip.config.ts, packages/agents-sdk/knip.config.ts
Route handler pattern enforcementChecks that route handlers use the spread pattern when forwarding validated request bodies to DAL functions, rather than explicit field-picking.Root monorepo scripts, Turborepo task graphscripts/check-route-handler-patterns.mjs
Contributor guide (CONTRIBUTING.md)Human contributor guide that defers canonical code/AI rules to AGENTS.md and links to docs.Repo agent instructions (AGENTS.md)CONTRIBUTING.md

CI/CD Pipelines

Developer/operator goal: automate checks, publishing, and deployment reliably.

SurfaceDescriptionDepends OnSource Code
GitHub Actions CI workflowPrimary CI pipeline running build/lint/typecheck/tests, format checks, env schema validation, and Knip.Turborepo task graph, Env schema documentation enforcement, Knip dependency/exports analysis, Vitest workspace configs, Package-level Vitest configs & setup.github/workflows/ci.yml, .github/composite-actions/install/action.yml
Cypress E2E workflowCI workflow for end-to-end UI tests that boots services and runs Cypress with artifacts on failure.Local dev bootstrap (pnpm setup-dev), Local database stack (Docker Compose), Cypress E2E test harness.github/workflows/cypress.yml, .github/composite-actions/cypress-e2e/action.yml
Release & npm publish workflowAutomates versioning and publishing via Changesets and creates GitHub releases.Changesets configuration, Turborepo task graph, Root monorepo scripts.github/workflows/release.yml, .changeset/config.json
Vercel production deploy workflowDeploys agents-api and agents-manage-ui to Vercel on release or manual dispatch.Release & npm publish workflow, Turborepo task graph.github/workflows/vercel-production.yml
Publish skills workflowBuilds and publishes generated skill collections to the external inkeep/skills repo.Skills library (.agents/skills), Root monorepo scripts.github/workflows/publish-skills.yml, agents-docs/skills-collections/, agents-docs/scripts/
Coverage workflow (disabled)Disabled workflow showing coverage generation/merge/report mechanics for future re-enablement.Coverage tooling & reporting.github/workflows/coverage.yml.disabled, coverage.config.ts, scripts/merge-coverage.mjs
CI maintenance workflowScheduled workflow that analyzes CI failures and can create fix PRs using Claude Code Action.pnpm workspace & dependency catalog, GitHub Actions CI workflow, Cypress E2E workflow.github/workflows/ci-maintenance.yml
Claude Code mention-trigger workflowRuns Claude Code Action when issues/PR comments include @claude for ad-hoc automation..github/workflows/claude.yml
Closed PR review auto-improver workflowOn merged PRs, analyzes reviewer feedback and can open draft PRs to improve internal review automation..github/workflows/closed-pr-review-auto-improver.yml
Inkeep agent content writer workflowTriggers an Inkeep agent action on PR open or @inkeep comment events (content-writing automation)..github/workflows/inkeep-content-writer.yml
Inkeep docs source sync workflowSyncs agents-docs/** changes to Inkeep via GitHub Actions automation on pushes to main..github/workflows/inkeep-sync.yml
Speakeasy SDK generation workflowScheduled/manual automation that generates an SDK for packages/agents-mcp using Speakeasy’s SDK generation action..github/workflows/speakeasy-sdk.yml
Stale PR automation workflowScheduled workflow that labels/closes stale PRs to keep the queue healthy..github/workflows/stale.yml

Test Infrastructure

Developer/operator goal: run reliable, isolated, and fast automated tests locally and in CI.

SurfaceDescriptionDepends OnSource Code
Vitest workspace configsRoot-level Vitest configuration for running tests across packages, with CI-specific overrides.TypeScript project configs, pnpm workspace & dependency catalogvitest.config.ts, vitest.config.ci.ts
Package-level Vitest configs & setupPer-package Vitest configs (and setup files) defining environment, shims, and package-specific behavior.Vitest workspace configs, TypeScript project configsagents-api/vitest.config.ts, agents-cli/vitest.config.ts, agents-cli/vitest.config.ci.ts, agents-manage-ui/vitest.config.ts, packages/agents-core/vitest.config.ts, packages/agents-sdk/vitest.config.ts, packages/create-agents/vitest.config.ts, packages/ai-sdk-provider/vitest.config.ts, packages/agents-work-apps/vitest.config.ts, agents-cli/vitest.setup.ts
Coverage tooling & reportingCoverage configuration and scripts to merge reports, diff changes, and generate badges.Package-level Vitest configs & setup, Root monorepo scriptscoverage.config.ts, scripts/merge-coverage.mjs, scripts/enforce-coverage-change.mjs, scripts/coverage-diff.mjs, scripts/generate-badges.mjs
Cypress E2E test harnessCypress configuration and test harness for agents-manage-ui end-to-end flows.Full local stack (Docker Compose), Local dev bootstrap (pnpm setup-dev)agents-manage-ui/cypress/

Environment & Configuration

Developer/operator goal: configure the system safely for dev/test/prod and keep configuration documented.

SurfaceDescriptionDepends OnSource Code
Environment file loader (loadEnvironmentFiles)Shared loader that resolves .env files up the directory tree and merges in ~/.inkeep/config.packages/agents-core/src/env.ts
Environment templates (.env.example, .env.docker.example)Canonical environment variable templates used for local dev and containerized runs..env.example, .env.docker.example
Runtime env schemas (API/CLI/Core)Zod schemas that validate and type environment variables per package at startup.Environment file loader (loadEnvironmentFiles), Environment templates (.env.example, .env.docker.example)agents-api/src/env.ts, agents-cli/src/env.ts, packages/agents-core/src/env.ts
Env schema documentation enforcementChecks ensuring each env var is documented via .describe() in the Zod schema (kept in sync with templates).Runtime env schemas (API/CLI/Core), Environment templates (.env.example, .env.docker.example)scripts/check-env-descriptions.mjs
Local dev bootstrap (pnpm setup-dev)One-command developer setup that provisions env files, starts Docker services, runs migrations, and applies the SpiceDB schema. Shared setup module (@inkeep/agents-core/setup) used by both monorepo and quickstart template.Environment templates (.env.example, .env.docker.example), Local database stack (Docker Compose), Drizzle kit configs (manage + runtime), Migration directories (Drizzle SQL), SpiceDB schema (Zed)packages/agents-core/src/setup/setup.ts, scripts/setup-dev.js, docker-compose.dbs.yml, packages/agents-core/spicedb/schema.zed

Docker & Deployment Artifacts

Developer/operator goal: run the system in containers for local development and integration testing.

SurfaceDescriptionDepends OnSource Code
Local database stack (Docker Compose)Compose definition for Doltgres (manage), Postgres (run), and SpiceDB services used in dev and CI.Environment templates (.env.example, .env.docker.example)docker-compose.dbs.yml
Full local stack (Docker Compose)Compose definition running UI + APIs + migration job alongside the database stack for local integration testing.Local database stack (Docker Compose), Runtime env schemas (API/CLI/Core)docker-compose.yml
Doltgres container initDoltgres container config and entrypoint that initializes the inkeep_agents database on first boot.Local database stack (Docker Compose)doltgres-config.yml, docker-doltgres-entrypoint.sh, init-dolt.sql
Test Dockerfiles (Playwright)Docker images used to run UI snapshot tests in a consistent environment.pnpm workspace & dependency catalog, Turborepo task graphDockerfile.manage-ui-test
AI dev containers (.ai-dev)Internal Docker-based harness for AI automation (proxy, Claude sandbox container) used by maintainers.Environment templates (.env.example, .env.docker.example).ai-dev/docker-compose.yml, .ai-dev/Dockerfile, .ai-dev/Dockerfile.proxy, .ai-dev/entrypoint.sh

Database Schemas & Migrations

Developer/operator goal: evolve data models safely and reproducibly via migration tooling.

SurfaceDescriptionDepends OnSource Code
Manage DB schema (Doltgres, versioned)Drizzle schema for configuration state stored in Doltgres (projects, agents, tools, components, eval configs).Zod validation schema librarypackages/agents-core/src/db/manage/manage-schema.ts
Runtime DB schema (Postgres, unversioned)Drizzle schema for runtime state stored in Postgres (conversations, messages, tasks, API keys, runs), including Better Auth tables.Better Auth schema tables, Zod validation schema librarypackages/agents-core/src/db/runtime/runtime-schema.ts
Drizzle kit configs (manage + runtime)Drizzle-kit configuration wiring schema files to migration outputs and DB URLs.Manage DB schema (Doltgres, versioned), Runtime DB schema (Postgres, unversioned), Runtime env schemas (API/CLI/Core)packages/agents-core/drizzle.manage.config.ts, packages/agents-core/drizzle.run.config.ts
Migration directories (Drizzle SQL)Generated SQL migrations and meta journals applied during dev, CI, and tests.Drizzle kit configs (manage + runtime)packages/agents-core/drizzle/manage/, packages/agents-core/drizzle/runtime/
Dolt migration runner (commit-on-migrate)Applies manage DB migrations and commits resulting schema changes into Dolt history.Migration directories (Drizzle SQL), Manage DB client & pool factories, DB migration safety guard (confirmMigration)packages/agents-core/src/dolt/migrate-dolt.ts, packages/agents-core/src/dolt/commit.ts
Dolt branch schema syncAutomation to keep non-main Dolt branches in sync with main’s schema.Dolt migration runner (commit-on-migrate), Manage DB client & pool factoriespackages/agents-core/src/dolt/migrate-all-branches.ts
DB migration safety guard (confirmMigration)Interactive safeguard requiring confirmation before running migrations against non-localhost DB URLs.packages/agents-core/src/db/utils.ts

Database Clients & Data Access Layer

Developer/operator goal: query and mutate data through typed abstractions with consistent safety checks.

SurfaceDescriptionDepends OnSource Code
Manage DB client & pool factoriesCreates Drizzle clients and pg pools for Doltgres-backed manage DB access in services and scripts.Runtime env schemas (API/CLI/Core), Manage DB schema (Doltgres, versioned)packages/agents-core/src/db/manage/manage-client.ts
Runtime DB client factoryCreates Drizzle clients for Postgres-backed runtime DB access (including test-time PGlite support).Runtime env schemas (API/CLI/Core), Runtime DB schema (Postgres, unversioned)packages/agents-core/src/db/runtime/runtime-client.ts
Test DB clients (PGlite)In-memory PGlite-backed DB clients that apply migrations and provide cleanup helpers for deterministic tests.Migration directories (Drizzle SQL), Drizzle kit configs (manage + runtime)packages/agents-core/src/db/manage/test-manage-client.ts, packages/agents-core/src/db/runtime/test-runtime-client.ts
Core data-access modulesTyped query/mutation helpers encapsulating SQL for manage/runtime operations (projects, tools, tasks, messages, etc.).Manage DB client & pool factories, Runtime DB client factory, Zod validation schema librarypackages/agents-core/src/data-access/, packages/agents-core/src/data-access/index.ts
Project existence validation wrapperRuntime guard utilities enforcing cross-database referential integrity before executing operations.Core data-access modulespackages/agents-core/src/data-access/validation.ts
agents-api DB wiring (manage/run)Service-level DB wiring for the API runtime: manage pool and run DB client singletons.Manage DB client & pool factories, Runtime DB client factory, Runtime env schemas (API/CLI/Core)agents-api/src/data/db/manageDbPool.ts, agents-api/src/data/db/runDbClient.ts

Validation & Shared Runtime Types

Developer/operator goal: enforce runtime correctness through shared schemas and typed validators.

SurfaceDescriptionDepends OnSource Code
Zod validation schema libraryCanonical runtime validation schemas for domain entities, event payloads, and structured parts used across packages.packages/agents-core/src/validation/, packages/agents-core/src/validation/index.ts
Component/props/render validation utilitiesUtilities validating component schemas, props, and render payloads to enforce structured output constraints.Zod validation schema librarypackages/agents-core/src/validation/props-validation.ts, packages/agents-core/src/validation/render-validation.ts, packages/agents-core/src/validation/drizzle-schema-helpers.ts
Stream event schemasShared Zod schemas for streaming event envelopes (SSE and Vercel AI data streams) and internal operation parts.Zod validation schema librarypackages/agents-core/src/validation/stream-event-schemas.ts

Authentication & Authorization Infrastructure

Developer/operator goal: authenticate users and enforce fine-grained permissions consistently across services.

SurfaceDescriptionDepends OnSource Code
Better Auth schema tablesDrizzle table definitions for users, sessions, orgs, and membership used by Better Auth and the runtime schema.packages/agents-core/src/auth/auth-schema.ts
Better Auth configuration & pluginsBetter Auth instance configuration (providers, cookies, org plugin) and hooks integrating with platform data/authz layers.Runtime env schemas (API/CLI/Core), Better Auth schema tables, Runtime DB client factory, SpiceDB client & sync utilitiespackages/agents-core/src/auth/auth.ts
SpiceDB schema (Zed)Authorization model definition (resource types, relations, permissions) applied to SpiceDB.packages/agents-core/spicedb/schema.zed
SpiceDB client & sync utilitiesWrappers to connect to SpiceDB and keep relationships/roles in sync with runtime organizations/projects.Runtime env schemas (API/CLI/Core), SpiceDB schema (Zed), Runtime DB client factorypackages/agents-core/src/auth/authz/client.ts, packages/agents-core/src/auth/authz/config.ts, packages/agents-core/src/auth/authz/sync.ts, packages/agents-core/src/auth/authz/permissions.ts
SpiceDB one-time migration scriptScript to backfill SpiceDB relationships from existing runtime DB rows using psql + zed.SpiceDB schema (Zed), SpiceDB client & sync utilities, Runtime DB schema (Postgres, unversioned)scripts/sync-spicedb.sh
Local SpiceDB services (Docker)Docker Compose services for SpiceDB and its Postgres datastore used in local dev and CI.Local database stack (Docker Compose)docker-compose.dbs.yml, docker-compose.yml

Observability Infrastructure

Developer/operator goal: emit, export, and query traces/logs for debugging and monitoring.

SurfaceDescriptionDepends OnSource Code
Logger framework (Pino wrapper)Shared Pino-based logger factory with redaction and transport configuration used across services.Runtime env schemas (API/CLI/Core)packages/agents-core/src/utils/logger.ts
Service logger adaptersThin package-level wrappers and re-exports standardizing logger usage per service.Logger framework (Pino wrapper)agents-api/src/logger.ts
OpenTelemetry SDK init (agents-api)OpenTelemetry Node SDK configuration (exporter, span processor, auto-instrumentations) for the API service.Runtime env schemas (API/CLI/Core), Logger framework (Pino wrapper)agents-api/src/instrumentation.ts
Run-domain tracer wrapperDomain-scoped tracer instances and helpers to set errors consistently on spans.OpenTelemetry SDK init (agents-api)agents-api/src/domains/run/utils/tracer.ts
SigNoz query helpersPrebuilt SigNoz/ClickHouse query strings used internally for trace analytics.OpenTelemetry SDK init (agents-api), Run-domain tracer wrapperpackages/agents-core/src/constants/signoz-queries.ts

Runtime Engine (Agent Execution & Streaming)

Developer/operator goal: execute agent runs end-to-end (history, prompts, tool calls, streaming, persistence) safely and observably.

SurfaceDescriptionDepends OnSource Code
Execution loop & task lifecycleOrchestrates a run: task creation/updates, transfers, error handling, message persistence, and response streaming.agents-api DB wiring (manage/run), Core data-access modules, Agent session tracking & status updates, Streaming helpers (SSE/Vercel/buffering), Stream helper registry, Run-domain tracer wrapperagents-api/src/domains/run/handlers/executionHandler.ts
Sub-agent task handler factoryBuilds an A2A task handler that instantiates an Agent and returns structured task results (buffered for delegated agents).Agent generation core (LLM + tools), Tool session manager, Streaming helpers (SSE/Vercel/buffering), agents-api DB wiring (manage/run)agents-api/src/domains/run/agents/generateTaskHandler.ts
Agent generation core (LLM + tools)Core Agent abstraction orchestrating prompts, context, tool execution, streaming, compression, and final response formatting.System prompt builder (run v1), Context resolution subsystem, Conversation history + compression pipeline, Streaming helpers (SSE/Vercel/buffering), Incremental stream parser, Artifact pipeline (parse/format/save), Tool approval workflow, Sandbox executor factory, Tool session manager, Run-domain tracer wrapper, Logger framework (Pino wrapper)agents-api/src/domains/run/agents/Agent.ts
System prompt builder (run v1)Versioned template assembly for system prompts with basic validation and token breakdown logging.Logger framework (Pino wrapper)agents-api/src/domains/run/agents/SystemPromptBuilder.ts
Tool session managerPer-request session store that coordinates tool execution state and bridges context across transfers/delegation.Stream helper registryagents-api/src/domains/run/agents/ToolSessionManager.ts
Context resolution subsystemFetches, validates, and caches context values (including project/credential-derived context) for prompt assembly.Core data-access modules, agents-api DB wiring (manage/run), Zod validation schema libraryagents-api/src/domains/run/context/ContextResolver.ts, agents-api/src/domains/run/context/ContextFetcher.ts, agents-api/src/domains/run/context/contextCache.ts, agents-api/src/domains/run/context/validation.ts
Conversation history + compression pipelineRetrieves conversation history from the runtime DB and applies summarization/compression strategies to fit model context windows.Core data-access modules, agents-api DB wiring (manage/run), Zod validation schema library, Logger framework (Pino wrapper)agents-api/src/domains/run/data/conversations.ts, agents-api/src/domains/run/services/ConversationCompressor.ts, agents-api/src/domains/run/services/MidGenerationCompressor.ts
Agent session tracking & status updatesSession-scoped event capture (tools/transfers/compression), artifact processing, status updates, and cleanup.Artifact pipeline (parse/format/save), Streaming helpers (SSE/Vercel/buffering), Stream helper registry, Sandbox executor factory, Run-domain tracer wrapper, Logger framework (Pino wrapper), agents-api DB wiring (manage/run)agents-api/src/domains/run/services/AgentSession.ts
Streaming helpers (SSE/Vercel/buffering)Implements streaming transports and envelopes (SSE + OpenAI-compatible tool streaming, Vercel AI data stream, buffering).Stream event schemas, Logger framework (Pino wrapper)agents-api/src/domains/run/utils/stream-helpers.ts
Stream helper registryGlobal requestId → StreamHelper registry used to route stream writes across internal boundaries.Streaming helpers (SSE/Vercel/buffering)agents-api/src/domains/run/utils/stream-registry.ts
Incremental stream parserParses text/object deltas into stable streamed parts, extracting artifacts/components incrementally.Artifact pipeline (parse/format/save), Streaming helpers (SSE/Vercel/buffering), Logger framework (Pino wrapper)agents-api/src/domains/run/services/IncrementalStreamParser.ts
Artifact pipeline (parse/format/save)Parses artifacts from model output/tool results, persists ledger artifacts, and formats final responses consistently.Core data-access modules, agents-api DB wiring (manage/run), Zod validation schema library, Logger framework (Pino wrapper)agents-api/src/domains/run/services/ArtifactParser.ts, agents-api/src/domains/run/services/ArtifactService.ts, agents-api/src/domains/run/services/ResponseFormatter.ts
Tool approval workflowIn-memory pending approvals and UI event propagation for tool calls requiring human approval, including delegation-safe UI bridging.Streaming helpers (SSE/Vercel/buffering), Stream helper registry, Logger framework (Pino wrapper)agents-api/src/domains/run/services/PendingToolApprovalManager.ts, agents-api/src/domains/run/services/ToolApprovalUiBus.ts
Workflow compilation script (evals)Build-time script that generates/compiles evaluation workflows used by the eval runtime.Turborepo task graph, TypeScript project configsagents-api/src/domains/evals/scripts/build-workflow.ts, agents-api/package.json

Tool Execution Sandboxes

Developer/operator goal: execute function tools in isolated environments with predictable limits and cleanup.

SurfaceDescriptionDepends OnSource Code
Sandbox executor factoryFactory and lifecycle manager selecting sandbox providers per session and handling cleanup.Runtime env schemas (API/CLI/Core), Logger framework (Pino wrapper)agents-api/src/domains/run/tools/SandboxExecutorFactory.ts
Native sandbox executorExecutes tool code in isolated Node.js child processes with concurrency limits and dependency caching.Sandbox executor factory, Sandbox execution utilitiesagents-api/src/domains/run/tools/NativeSandboxExecutor.ts
Vercel sandbox executorExecutes tool code in Vercel Sandbox MicroVMs with dependency hashing, pooling, and expiration-based cleanup.Sandbox executor factory, Sandbox execution utilitiesagents-api/src/domains/run/tools/VercelSandboxExecutor.ts
Sandbox execution utilitiesShared utilities for wrapping tool code, writing files, parsing results, and enforcing output/timeout constraints.agents-api/src/domains/run/tools/sandbox-utils.ts

AI Development Tooling

Developer/operator goal: guide AI coding agents and automate AI-assisted workflows without breaking discovery/validation.

SurfaceDescriptionDepends OnSource Code
Repo agent instructions (AGENTS.md)Repository-wide conventions and required workflows for AI agents and contributors (mirrored for harness compatibility).AGENTS.md, CLAUDE.md
Skills library (.agents/skills)Skill catalog used by multiple agent runners (Cursor, Claude Code, Codex) to provide reusable guidance and checklists..agents/skills/
Claude Code agents (.claude/agents)Claude Code agent definitions (reviewers, coordinators) used in local runs and GitHub workflows.Skills library (.agents/skills).claude/agents/
AI artifact validation scriptValidates agent/skill YAML frontmatter for discovery and blocks invalid artifacts via pre-commit checks.scripts/validate-ai-artifacts.ts
Cursor automation commands (.cursor/commands)Lightweight operational playbooks for common git/CI workflows (PR creation, rebase, flaky test fixes)..cursor/commands/, .cursor/worktrees.json
Internal AI-dev Docker sandboxMaintainer-only Docker sandbox for network-isolated AI development (proxy, container). PRD authoring and autonomous implementation use the /spec, /ralph, and /feature-dev skills in inkeep/team-skills..ai-dev/docker-compose.yml, .ai-dev/Dockerfile, .ai-dev/Dockerfile.proxy, .ai-dev/squid.conf, .ai-dev/entrypoint.sh

Package Publishing & Versioning

Developer/operator goal: version packages consistently and publish safely to npm and internal registries.

SurfaceDescriptionDepends OnSource Code
Changesets configurationDefines versioning policy, package scope, and release behavior for the monorepo.pnpm workspace & dependency catalog.changeset/config.json, .changeset/
Changeset authoring helpersScripts to generate changesets quickly and enforce message quality/consistency for published packages.Changesets configuration, Root monorepo scriptsscripts/quick-changeset.mjs, package.json (script: bump)
Private publish helper scriptsHelper scripts for publishing internal/private artifacts in a controlled way.Changesets configuration, Root monorepo scriptsscripts/publish-private.sh

Breaking Change Impact Matrix

If This Changes...These Surfaces Break
pnpm workspace & dependency catalogRoot monorepo scripts, Turborepo task graph, TypeScript project configs, tsdown build configs, Biome lint/format configs, Knip dependency/exports analysis, GitHub Actions CI workflow, Release & npm publish workflow, CI maintenance workflow
Turborepo task graphRoot monorepo scripts, GitHub Actions CI workflow, Release & npm publish workflow, Vercel production deploy workflow, License sync automation, Workflow compilation script (evals)
TypeScript project configstsdown build configs, Vitest workspace configs, Package-level Vitest configs & setup, Knip dependency/exports analysis, Workflow compilation script (evals)
Runtime env schemas (API/CLI/Core)agents-api DB wiring (manage/run), Drizzle kit configs (manage + runtime), OpenTelemetry SDK init (agents-api), Logger framework (Pino wrapper), Better Auth configuration & plugins, SpiceDB client & sync utilities, Local dev bootstrap (pnpm setup-dev), Sandbox executor factory
Environment file loader (loadEnvironmentFiles)Runtime env schemas (API/CLI/Core), OpenTelemetry SDK init (agents-api), agents-api DB wiring (manage/run)
Drizzle kit configs (manage + runtime)Migration directories (Drizzle SQL), Dolt migration runner (commit-on-migrate), Dolt branch schema sync, Test DB clients (PGlite), Local dev bootstrap (pnpm setup-dev)
Manage DB schema (Doltgres, versioned)Drizzle kit configs (manage + runtime), Migration directories (Drizzle SQL), Manage DB client & pool factories, Core data-access modules, Dolt migration runner (commit-on-migrate), Dolt branch schema sync, Local dev bootstrap (pnpm setup-dev)
Runtime DB schema (Postgres, unversioned)Drizzle kit configs (manage + runtime), Migration directories (Drizzle SQL), Runtime DB client factory, Core data-access modules, Better Auth configuration & plugins, SpiceDB one-time migration script, Execution loop & task lifecycle
Core data-access modulesProject existence validation wrapper, Context resolution subsystem, Conversation history + compression pipeline, Artifact pipeline (parse/format/save), Agent generation core (LLM + tools), Execution loop & task lifecycle
SpiceDB schema (Zed)SpiceDB client & sync utilities, SpiceDB one-time migration script, Better Auth configuration & plugins, Local dev bootstrap (pnpm setup-dev)
Logger framework (Pino wrapper)Service logger adapters, System prompt builder (run v1), OpenTelemetry SDK init (agents-api), Execution loop & task lifecycle, Agent generation core (LLM + tools), Sandbox executor factory
OpenTelemetry SDK init (agents-api)Run-domain tracer wrapper, Execution loop & task lifecycle, Agent generation core (LLM + tools), SigNoz query helpers
Streaming helpers (SSE/Vercel/buffering)Stream helper registry, Incremental stream parser, Tool approval workflow, Agent session tracking & status updates, Agent generation core (LLM + tools), Execution loop & task lifecycle, Sub-agent task handler factory
Sandbox executor factoryNative sandbox executor, Vercel sandbox executor, Agent session tracking & status updates, Agent generation core (LLM + tools)
AI artifact validation scriptlint-staged checks, Skills library (.agents/skills), Claude Code agents (.claude/agents), Claude PR review workflow
PR review orchestrator agent (pr-review)Claude PR review workflow

Transitive Chain Tracing

Use this methodology to trace what a change touches and what it should touch but may not have:

Step 1: Map changed files → directly modified surfaces

For each changed file in the PR, find the matching row in the Surface Catalog tables above. These are directly modified surfaces.

Step 2: Trace one hop out via the Breaking Change Impact Matrix

For each directly modified surface, look it up in the left column of the Breaking Change Impact Matrix. The right column lists surfaces that break when this surface changes — these are transitively impacted.

Step 3: Identify potentially unaccounted surfaces

Compare the transitively impacted set against the PR's changed files. Any surface that appears in the transitive chain but whose source files were not updated by the PR is potentially unaccounted — it may need updating, testing, or at minimum a conscious acknowledgment that no change is needed.

Example

If a PR modifies packages/agents-core/src/db/manage/manage-schema.ts:

  1. Directly modified: Manage DB schema (Doltgres, versioned)
  2. Transitively impacted (from the matrix): Drizzle kit configs, Migration directories, Manage DB client & pool factories, Core data-access modules, Dolt migration runner, Dolt branch schema sync, Local dev bootstrap
  3. Potentially unaccounted: If the PR updated the schema and generated migrations but did not touch AGENTS.md (which documents the migration workflow) or Local dev bootstrap (which runs migrations on setup), flag those as potentially unaccounted

When to apply

  • PR review (via pr-tldr): The orchestrator fills in the internal surfaces section using this methodology
  • Planning/refactoring: Before starting work, trace the chain to understand the full blast radius
  • Post-change audit: After implementation, verify nothing in the transitive chain was missed

Not Internal

ItemWhy Not Internal
Customer-facing APIs & protocolsThese are explicit external contracts (e.g. Management API, Run API, Chat API, A2A Protocol, MCP Protocol) and are cataloged in .agents/skills/product-surface-areas/SKILL.md.
Customer-facing UIs & experiencesManagement UI, chat widget, Copilot, docs site, and template scaffolding are direct user surfaces; use product-surface-areas.
inkeep.config.ts formatAlthough implemented in the repo, this is a customer-facing config contract consumed by the CLI and is tracked in product-surface-areas.
OpenTelemetry schema (span names/attributes)Treated as a stable contract for traces and dashboards; it is cataloged in product-surface-areas as customer-facing.
Environment variable names (contract)The list of required env var names and formats is a customer-facing dependency; this document focuses on the internal loaders/schemas/templates that implement it.

Dependency Graph

graph TD
  %% Major internal dependency clusters only (surfaces are cataloged in tables above)

  subgraph Foundational_Tooling[Foundational Tooling]
    PNPM[pnpm workspace & dependency catalog]
    SCRIPTS[Root monorepo scripts]
    TURBO[Turborepo task graph]
    TSCFG[TypeScript project configs]
    BIOME[Biome lint/format configs]
  end

  subgraph Env_and_Infra[Environment & Infra]
    ENVLOADER[Environment file loader]
    ENVSCHEMA[Runtime env schemas]
    DOCKERDB[Local database stack]
  end

  subgraph Data_Platform[Data Platform]
    DBMAN[Manage DB schema]
    DBRUN[Runtime DB schema]
    DRIZZLE[Drizzle kit configs]
    MIGS[Migration directories]
    DATA[Core data-access modules]
    AUTH[Auth/Authz infra]
  end

  subgraph Runtime_Engine[Runtime Engine]
    EXEC[Execution loop]
    AGENT[Agent generation core]
    STREAM[Streaming helpers]
    SESSION[Agent session tracking]
    SANDBOX[Tool sandboxes]
  end

  subgraph Automation[Automation & CI]
    CI[CI workflows]
    REL[Release/publish]
    DEP[Deploy workflows]
  end

  subgraph AI_Tooling[AI Dev Tooling]
    SKILLS[Skills library]
    CLAUDE[Claude Code agents]
    VALID[AI artifact validation]
  end

  %% Tooling dependencies
  PNPM --> SCRIPTS
  PNPM --> TURBO
  TSCFG --> TURBO

  %% Env -> infra -> data
  ENVLOADER --> ENVSCHEMA
  ENVSCHEMA --> DRIZZLE
  DOCKERDB --> AUTH

  DBMAN --> DRIZZLE
  DBRUN --> DRIZZLE
  DRIZZLE --> MIGS
  MIGS --> DATA

  %% Data -> runtime
  DATA --> EXEC
  DATA --> AGENT
  STREAM --> EXEC
  SESSION --> AGENT
  SANDBOX --> AGENT

  %% CI & release
  TURBO --> CI
  CI --> REL
  REL --> DEP

  %% AI tooling
  VALID --> SKILLS
  SKILLS --> CLAUDE

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.2%
按下载量换算80

Claude

28.16%
按下载量换算62

Cursor

19.17%
按下载量换算42

Gemini CLI

9.8%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills