Analyzing .NET Performance
dotnet/skills
Scans C# and .NET code for about 50 performance anti-patterns and reports prioritized findings with concrete fixes, at a scan depth you choose.
Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync.
$ npx skills add WeihanLi/WeihanLi.Common --skill speckit-constitution -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install WeihanLi/WeihanLi.Common speckit-constitution --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/WeihanLi/WeihanLi.Common.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/speckit-constitution .claude/skills/speckit-constitution && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "speckit-constitution" agent skill from https://github.com/WeihanLi/WeihanLi.Common/tree/dev/.github/skills/speckit-constitution into .claude/skills/speckit-constitution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "speckit-constitution", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/WeihanLi/WeihanLi.Common/tree/dev/.github/skills/speckit-constitutionType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add WeihanLi/WeihanLi.Common --skill speckit-constitution -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install WeihanLi/WeihanLi.Common speckit-constitution --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/WeihanLi/WeihanLi.Common.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/speckit-constitution .agents/skills/speckit-constitution && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "speckit-constitution" agent skill from https://github.com/WeihanLi/WeihanLi.Common/tree/dev/.github/skills/speckit-constitution into .agents/skills/speckit-constitution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "speckit-constitution", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add WeihanLi/WeihanLi.Common --skill speckit-constitution -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install WeihanLi/WeihanLi.Common speckit-constitution --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/WeihanLi/WeihanLi.Common.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/speckit-constitution .cursor/skills/speckit-constitution && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "speckit-constitution" agent skill from https://github.com/WeihanLi/WeihanLi.Common/tree/dev/.github/skills/speckit-constitution into .cursor/skills/speckit-constitution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "speckit-constitution", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/WeihanLi/WeihanLi.Common.git --path .github/skills/speckit-constitution--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add WeihanLi/WeihanLi.Common --skill speckit-constitution -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install WeihanLi/WeihanLi.Common speckit-constitution --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/WeihanLi/WeihanLi.Common.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/speckit-constitution .gemini/skills/speckit-constitution && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "speckit-constitution" agent skill from https://github.com/WeihanLi/WeihanLi.Common/tree/dev/.github/skills/speckit-constitution into .gemini/skills/speckit-constitution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "speckit-constitution", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install WeihanLi/WeihanLi.Common speckit-constitutionInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add WeihanLi/WeihanLi.Common --skill speckit-constitution -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/WeihanLi/WeihanLi.Common.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/speckit-constitution .github/skills/speckit-constitution && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "speckit-constitution" agent skill from https://github.com/WeihanLi/WeihanLi.Common/tree/dev/.github/skills/speckit-constitution into .github/skills/speckit-constitution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "speckit-constitution", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add WeihanLi/WeihanLi.Common --skill speckit-constitution -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install WeihanLi/WeihanLi.Common speckit-constitution --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/WeihanLi/WeihanLi.Common.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/speckit-constitution .opencode/skills/speckit-constitution && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "speckit-constitution" agent skill from https://github.com/WeihanLi/WeihanLi.Common/tree/dev/.github/skills/speckit-constitution into .opencode/skills/speckit-constitution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "speckit-constitution", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
speckit-constitutionCreate or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync.
Speckit Constitution is an agent skill from WeihanLi/WeihanLi.Common. Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync.
Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires spec-kit project structure with .specify/ directory
It sits in Development, covering Spec-driven development. It works with C# and .NET. The repository describes itself as: common tools, methods, extension methods, etc... .net 常用工具类,公共方法,常用扩展方法等,基础类库. The licence is Apache-2.0.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 3c32ddc. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires spec-kit project structure with .specify/ directory
From compatibility in the SKILL.md frontmatter.
Speckit Constitution loads about 2.1k tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 1,004 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from WeihanLi/WeihanLi.Common at commit 3c32ddc, republished under its Apache-2.0 licence (© WeihanLi). 1,004 words, ~2,146 tokens.
.claude/skills/speckit-constitution/SKILL.md (or your agent's skills folder).$ARGUMENTSYou MUST consider the user input before proceeding (if not empty).
Check for extension hooks (before constitution update):
.specify/extensions.yml exists in the project root.hooks.before_constitution keyenabled is explicitly false. Treat hooks without an enabled field as enabled by default.condition expressions:condition field, or it is null/empty, treat the hook as executablecondition, skip the hook and leave condition evaluation to the HookExecutor implementation.) with hyphens (-). For example, speckit.git.commit → /speckit-git-commit.optional flag:optional: true):## Extension Hooks
**Optional Pre-Hook**: {extension}
Command: `/{command}`
Description: {description}
Prompt: {prompt}
To execute: `/{command}`optional: false):## Extension Hooks
**Automatic Pre-Hook**: {extension}
Executing: `/{command}`
EXECUTE_COMMAND: {command}
Wait for the result of the hook command before proceeding to the Outline..specify/extensions.yml does not exist, skip silentlyYou are updating the project constitution at .specify/memory/constitution.md. This file is a TEMPLATE containing placeholder tokens in square brackets (e.g. [PROJECT_NAME], [PRINCIPLE_1_NAME]). Your job is to (a) collect/derive concrete values, (b) fill the template precisely, and (c) propagate any amendments across dependent artifacts.
Note: If .specify/memory/constitution.md does not exist yet, it should have been initialized from .specify/templates/constitution-template.md during project setup. If it's missing, copy the template first.
Follow this execution flow:
Load the existing constitution at .specify/memory/constitution.md.
[ALL_CAPS_IDENTIFIER].
IMPORTANT: The user might require less or more principles than the ones used in the template. If a number is specified, respect that - follow the general template. You will update the doc accordingly.Collect/derive values for placeholders:
RATIFICATION_DATE is the original adoption date (if unknown ask or mark TODO), LAST_AMENDED_DATE is today if changes are made, otherwise keep previous.CONSTITUTION_VERSION must increment according to semantic versioning rules:Draft the updated constitution content:
Consistency propagation checklist (convert prior checklist into active validations):
.specify/templates/plan-template.md and ensure any "Constitution Check" or rules align with updated principles..specify/templates/spec-template.md for scope/requirements alignment—update if constitution adds/removes mandatory sections or constraints..specify/templates/tasks-template.md and ensure task categorization reflects new or removed principle-driven task types (e.g., observability, versioning, testing discipline)..specify/templates/commands/*.md (including this one) to verify no outdated references (agent-specific names like CLAUDE only) remain when generic guidance is required.README.md, docs/quickstart.md, or agent-specific guidance files if present). Update references to principles changed.Produce a Sync Impact Report (prepend as an HTML comment at top of the constitution file after update):
Validation before final output:
Write the completed constitution back to .specify/memory/constitution.md (overwrite).
Output a final summary to the user with:
docs: amend constitution to vX.Y.Z (principle additions + governance update)).Formatting & Style Requirements:
If the user supplies partial updates (e.g., only one principle revision), still perform validation and version decision steps.
If critical info missing (e.g., ratification date truly unknown), insert TODO(<FIELD_NAME>): explanation and include in the Sync Impact Report under deferred items.
Do not create a new template; always operate on the existing .specify/memory/constitution.md file.
Check for extension hooks (after constitution update):
Check if .specify/extensions.yml exists in the project root.
hooks.after_constitution keyenabled is explicitly false. Treat hooks without an enabled field as enabled by default.condition expressions:condition field, or it is null/empty, treat the hook as executablecondition, skip the hook and leave condition evaluation to the HookExecutor implementation.) with hyphens (-). For example, speckit.git.commit → /speckit-git-commit.optional flag:optional: true):## Extension Hooks
**Optional Hook**: {extension}
Command: `/{command}`
Description: {description}
Prompt: {prompt}
To execute: `/{command}`optional: false):## Extension Hooks
**Automatic Hook**: {extension}
Executing: `/{command}`
EXECUTE_COMMAND: {command}.specify/extensions.yml does not exist, skip silently© WeihanLi, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .github/skills/speckit-constitution of WeihanLi/WeihanLi.Common.
Open the folder on GitHubat commit 3c32ddc
We found 12 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 11 other GitHub owners. This page covers the copy in WeihanLi/WeihanLi.Common, which our catalogue first saw on October 7, 2026.
Speckit Constitution next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Speckit Constitution this skillWeihanLi/WeihanLi.Common | 242 | 11 repos | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| Analyzing .NET Performancedotnet/skills | 5.6k | 3 repos | ~3.1k | Automated safety check: Pass | MIT | |
| Add Analyzerdotnet/roslynator | 3.5k | — | ~1.3k | Automated safety check: Pass | Custom licence | |
| GitVersion .NET DevelopmentGitTools/GitVersion | 3.1k | — | ~1.7k | Automated safety check: Pass | MIT | |
| Code Reviewdotnet/macios | 2.9k | — | ~1.7k | Automated safety check: Pass | Custom licence | |
| Add Compiler Diagnostic Fixdotnet/roslynator | 3.5k | — | ~1k | Automated safety check: Pass | Custom licence |
dotnet/skills
Scans C# and .NET code for about 50 performance anti-patterns and reports prioritized findings with concrete fixes, at a scan depth you choose.
dotnet/roslynator
A skill your agent uses when adding a new RCS diagnostic in roslynator (RCS0 formatting, RCS1 general, RCS9 code-analysis), wiring roslynator EditorConfig options, or when docs say CHANGELOG.md…
GitTools/GitVersion
Gives repository-specific .NET guidance for GitVersion: build and test commands, central package management, project layout and coding conventions.
dotnet/macios
Review dotnet/macios PRs against established rules. An agent skill from dotnet/macios.
dotnet/roslynator
A skill your agent uses when adding a Roslynator code fix for C compiler error CS or RCF, editing Diagnostics.xml or CodeFixes.xml, or when compiler-diagnostic-fixes-testing.md shows…
dotnet/roslynator
A skill your agent uses when adding a new RR refactoring in roslynator, editing Refactorings.xml, registering in RefactoringContext, or when refactorings-testing.md shows XunitRefactoringVerifier —…
Categories
Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync. Common. Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync.
Speckit Constitution fits situations like: tasks that involve Spec-driven development.
Run `npx skills add WeihanLi/WeihanLi.Common --skill speckit-constitution -a claude-code`. Or copy the skill folder (.github/skills/speckit-constitution in WeihanLi/WeihanLi.Common) into .claude/skills/speckit-constitution in your project. Claude Code loads it when a task matches its description.
Run `npx skills add WeihanLi/WeihanLi.Common --skill speckit-constitution -a codex`. Or copy the skill folder (.github/skills/speckit-constitution in WeihanLi/WeihanLi.Common) into .agents/skills/speckit-constitution in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add WeihanLi/WeihanLi.Common --skill speckit-constitution -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/speckit-constitution, .gemini/skills/speckit-constitution, .github/skills/speckit-constitution and .opencode/skills/speckit-constitution in your project.
SKILL.md names no scripts, command-line tools or credentials: Speckit Constitution is instructions for the agent only. Compatibility (from SKILL.md): Requires spec-kit project structure with .specify/ directory.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Speckit Constitution is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Speckit Constitution: Analyzing .NET Performance (dotnet/skills, 5.6k stars), Add Analyzer (dotnet/roslynator, 3.5k stars), GitVersion .NET Development (GitTools/GitVersion, 3.1k stars) and Code Review (dotnet/macios, 2.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
WeihanLi (a GitHub user) maintains it in WeihanLi/WeihanLi.Common, which has 242 GitHub stars. The repository was last updated on September 14, 2026.
Source: WeihanLi/WeihanLi.Common on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.