一键导入
intelligencex-write-tool-authoring
Use when adding/refactoring mutating tools with shared write-governance and authentication contracts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when adding/refactoring mutating tools with shared write-governance and authentication contracts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when bootstrapping or validating IntelligenceX reviewer setup, managed workflow blocks, and reviewer.json generation/apply flow.
Use when iterating on PR blockers, CI failures, and bot todo or critical items until mergeability is restored.
Use when creating or refactoring IntelligenceX tools to maximize helper reuse, reduce duplication, and keep stable tool contracts.
Use when work touches setup wizard, setup web, onboarding UX, onboarding docs, or first-run validation flows.
Use when changing analysis behavior, static-analysis policy, catalog validation, or analyzer execution flow in IntelligenceX.
Use to validate the first live reviewer run after onboarding, including checks, sticky summary markers, and rollout health signals.
| name | intelligencex-write-tool-authoring |
| description | Use when adding/refactoring mutating tools with shared write-governance and authentication contracts. |
Use this skill when adding or refactoring write-capable (mutating) tools.
ToolSchema.Object(...)..WithWriteGovernanceDefaults() for write tools..WithWriteGovernanceAndAuthenticationProbe()..WithWriteGovernanceMetadata() / .WithAuthenticationProbeReference() only for advanced custom ordering.ToolWriteGovernanceConventions.BooleanFlagTrue(...).ToolWriteGovernanceConventions.StringEquals(...).ToolAuthenticationConventions.HostManaged(...).supportsConnectivityProbe: true and probeToolName.ToolResponse.OkWriteActionModel(...) for mutating actions with dry-run/apply mode.send, apply, intent=read_write, etc.).allow_write or same as intent flag) for actual writes.write_execution_idwrite_actor_idwrite_change_reasonwrite_rollback_plan_idwrite_rollback_provider_idwrite_audit_correlation_idsupportsConnectivityProbe: true and provide probeToolName.auth_probe_id in schema using .WithWriteGovernanceAndAuthenticationProbe() (or .WithAuthenticationProbeReference() for custom pipelines).ToolAuthenticationArgumentNames.ToolAuthenticationProbeValidator.supports_connectivity_probeprobe_tool_name (when probe-aware)dry-run vs apply)IXTOOL001 validates write-capable tool schemas under IntelligenceX.Tools/**.IXTOOL003 validates max_results metadata helper usage under IntelligenceX.Tools/**.ToolDefinition entries with non-null writeGovernance that do not use:
WithWriteGovernanceDefaults()WithWriteGovernanceAndAuthenticationProbe()IXTOOL003 flags direct meta.Add("max_results", ...) and requires AddMaxResultsMeta(...).dotnet run --project IntelligenceX.Cli/IntelligenceX.Cli.csproj --framework net8.0 -- analyze run --workspace . --config .intelligencex/reviewer.json --out artifacts --pack intelligencex-maintainability-default --strict truedotnet run --project IntelligenceX.Cli/IntelligenceX.Cli.csproj --framework net8.0 -- analyze gate --workspace . --config .intelligencex/reviewer.jsontemplates/write-tool-template.cs.txttemplates/write-tool-tests-template.cs.txtscripts/new-write-tool-checklist.ps1__PLACEHOLDER__ markers.ToolResponse.OkWriteActionModel(...).enforced|yolonone|file|sqlitedefault|strict|lab