commit
免费Stage relevant files and create a well-formed git commit for the docs-builder repo. Use this when the user asks to commit changes, save work, or create a commit.
中文简介正在准备中。当前显示原文说明。
Review changed or staged C# code against the docs-builder coding standards and flag violations. Use when the user asks to review code style, check for standards violations, or audit a diff before committing.
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Reviews C# changes for violations that dotnet format and .editorconfig cannot catch — behavioral patterns, naming conventions, and architectural rules.
.editorconfig + dotnet format already enforce (mechanically):
var everywhere, no explicit typesthis. qualifierstring not String){?., ??)is/as castsout var x)[] instead of new List<T>() / Array.Empty<T>()Run dotnet format (or /lint) to fix those. Only continue with this skill for the behavioral checks below.
git diff # unstaged changes
git diff --staged # staged changes
git diff main...HEAD # full branch
Async correctness (error-level):
Async; private async methods must NOT.Result or .Wait() on an async call.ConfigureAwait(false) on awaitsCancellationToken ct = defaultMethod design (error-level):
Structural (error-level):
#region directivesReturn values (error-level):
null — must return []Testing (style-level, in tests/ and tests-integration/):
MethodName_Scenario_ExpectedShould().Be(...) not Assert.Equal(...))Comments (style-level):
#region (already error-level above)Format violations as a numbered list with severity:
ERROR:
1. src/Elastic.Markdown/Foo.cs:42 — public async method `GetData` missing `Async` suffix
2. src/Elastic.Markdown/Foo.cs:67 — `.Result` blocks on async call; use `await`
STYLE:
3. tests/Elastic.Markdown.Tests/Bar.cs:15 — test name `TestGetUser` should follow `GetUser_ValidId_ReturnsUser` pattern
If no violations: "No behavioral style violations found."
Report only. For formatting issues, run /lint. For logic violations (blocking async, null collections), the developer must fix manually.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Stage relevant files and create a well-formed git commit for the docs-builder repo. Use this when the user asks to commit changes, save work, or create a commit.
中文简介正在准备中。当前显示原文说明。
Registers a feature flag as additive-only and verifies the flag-off path still matches the previous default. Use whenever adding or extending a feature flag, editing FeatureFlags.cs, changing feature_flags in assembler.yml, gating a code path behind a FEATURE_* environment variable, or enabling a flag in an environment. Do not skip this skill for flag work even if the user does not name it.
中文简介正在准备中。当前显示原文说明。
File a well-formed bug report or feature request. Use when the user asks to open an issue, report a bug, or request a feature in the docs-builder repo.
中文简介正在准备中。当前显示原文说明。
Auto-fix all formatting issues in the docs-builder repo — runs dotnet format for C# and npm fmt:write for TypeScript/JS. Use when the user asks to fix formatting, lint the code, or when a pre-commit hook fails due to formatting.
中文简介正在准备中。当前显示原文说明。
Search, analyze, and author Elastic documentation using the remote MCP server. Use this when the user asks about Elastic product documentation, features, or APIs; wants to find, read, or verify existing docs pages; is writing or editing documentation; mentions cross-links between repos; asks about documentation structure, coherence, or consistency; wants to generate templates following Elastic content type guidelines; or references elastic.co/docs URLs or Elastic product names.
中文简介正在准备中。当前显示原文说明。
Create a GitHub pull request for the current branch with a focused why/what body and exactly one release-drafter label. Use when the user asks to open a PR, create a pull request, or ship a branch.
中文简介正在准备中。当前显示原文说明。