本文へ移動
cccskills
無料GitHub で公開

lint

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.

日本語の概要は準備中です。原文の説明を表示しています。

elastic/docs-builderスター 25(GitHub 25 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Lint Skill

Fixes all formatting issues across C# and TypeScript in the docs-builder repo.

Steps

1. Fix C# formatting

dotnet format

This applies the project's editorconfig and code style rules to all C# files.

2. Fix TypeScript/JS formatting

cd src/Elastic.Documentation.Site && npm run fmt:write

This runs Prettier on all frontend source files.

3. Report results

After both commands complete:

  • If files were changed: list which files were reformatted
  • If nothing changed: confirm "No formatting issues found"

Notes

  • This skill fixes files in place but does not commit
  • Run this before /commit if you see formatting errors in build output or pre-commit hook failures
  • Formatting rules are enforced by Husky.Net pre-commit hooks (prettier + eslint for TS, dotnet-lint on pre-push for C#)
  • dotnet format is also available as ./build.sh lint for the full lint pipeline

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

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.

日本語の概要は準備中です。原文の説明を表示しています。

elastic/docs-builder252026年10月26日 更新

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.

日本語の概要は準備中です。原文の説明を表示しています。

elastic/docs-builder252026年10月26日 更新

issue

無料

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.

日本語の概要は準備中です。原文の説明を表示しています。

elastic/docs-builder252026年10月26日 更新

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.

日本語の概要は準備中です。原文の説明を表示しています。

elastic/docs-builder252026年10月26日 更新

pr

無料

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.

日本語の概要は準備中です。原文の説明を表示しています。

elastic/docs-builder252026年10月26日 更新

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.

日本語の概要は準備中です。原文の説明を表示しています。

elastic/docs-builder252026年10月26日 更新

elastic のスキルをすべて見る

このスキルの問題を報告する