| name | code-completion |
| description | Quality gates checklist for completing code work before finishing implementation cycles |
Code completion checklist
Run before finishing any implementation cycle.
Workflow
Step 0: Remove dead code
Before running quality gates:
- Delete obsolete or commented-out code
- Remove unused imports, variables, helper methods
- Strip debugging aids (
Console.WriteLine, breakpoints)
- Remove scratch files (
.bak, .new, .debug.*)
Step 1: Run linters
dotnet format --severity info --no-restore
npx markdownlint-cli2 --fix
Zero errors and zero warnings required. Individual checks:
dotnet tool run roslynator fix --properties TargetFramework=net10.0 --severity-level hidden --verbosity normal
dotnet format --severity info --no-restore
npx markdownlint-cli2 --fix
VS Code task: Lint: All (fix)
Step 2: Build
dotnet build "Stock.Indicators.sln" -v minimal --nologo
VS Code task: Build: .NET Solution (incremental)
Step 3: Test
dotnet test "Stock.Indicators.sln" --no-restore --nologo
VS Code task: Test: Unit tests
Step 4: Update documentation
When changing indicators or public APIs:
- Update XML documentation for changed public APIs
- Update
docs/indicators/{IndicatorName}.md