一键导入
dck-de-sloppify
Use when cleaning AHKFlowApp code, warnings, dead code, TODOs, formatting, sealed classes, or CancellationToken flow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when cleaning AHKFlowApp code, warnings, dead code, TODOs, formatting, sealed classes, or CancellationToken flow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when creating, removing, or troubleshooting AHKFlowApp git worktrees across Claude Code, Codex, or Copilot.
Use when optimizing AHKFlowApp agent workflow, worktrees, planning, verification loops, context budget, or tool usage.
Use when verifying AHKFlowApp build, tests, formatting, diagnostics, security, or readiness before commit, push, or PR.
Compact the current conversation into a handoff document for another agent to pick up.
Use to scan .NET code for performance anti-patterns across async, memory, strings, collections, LINQ, regex, and I/O.
Use to evaluate assertion depth and diversity across a test suite and flag assertion-free, shallow, or tautological tests.
| name | dck-de-sloppify |
| description | Use when cleaning AHKFlowApp code, warnings, dead code, TODOs, formatting, sealed classes, or CancellationToken flow. |
dotnet format AHKFlowApp.slnx
dotnet format AHKFlowApp.slnx --verify-no-changes
dotnet format AHKFlowApp.slnx analyzers --diagnostics IDE0005
Then build.
Use Roslyn MCP when available:
get_diagnostics
Prioritize compiler warnings, nullability issues, obsolete APIs, and unused variables.
Use:
find_dead_code
find_references
Then search strings manually:
rg -n "TypeName|nameof\\(TypeName\\)|Activator.CreateInstance|JsonDerivedType|AddScoped|AddTransient|AddSingleton" src tests
Remove only after compile-time and string/config references are clear.
rg -n "TODO|HACK|FIXME|XXX" src tests
Fix small stale items. For larger work, create or reference an issue rather than leaving vague comments.
Use get_type_hierarchy and test searches before sealing. Do not seal xUnit fixture base classes, intentional extension points, or classes with designed virtual members.
Trace from controller action or use case into EF Core, HttpClient, file IO, and helper methods:
public async Task<Result<HotstringDto>> ExecuteAsync(
GetHotstringQuery request,
CancellationToken cancellationToken)
{
var entity = await db.Hotstrings.FindAsync([request.Id], cancellationToken);
...
}
At minimum:
dotnet build AHKFlowApp.slnx --configuration Release --no-restore
dotnet test --configuration Release --no-build --verbosity normal
For docs/skills-only cleanup, use targeted grep/setup verification instead of full app tests when appropriate.
| Scenario | Run |
|---|---|
| Quick PR tidy | Format, unused usings, diff review |
| Warning cleanup | Diagnostics phase |
| Large stale area | Dead-code safety checks |
| Async review | CancellationToken phase |
| Performance prep | Dead code plus sealing |