MAINTAIN Workflow

Safe code modifications with scope-based file protection

Safe code modifications
Scope-based file protection
Bug fixing and issues
Refactoring assistance

Commands in this Workflow

Detailed documentation for each command including when to use it, what it's best for, and real-world examples.

/siftcoder:fix

Auto

Fix issues with safe boundaries

What It Does

Fixes bugs and issues within defined scope boundaries. Only modifies files you've explicitly approved, preventing accidental changes to critical systems. Includes automatic testing and validation of fixes.

Usage

/siftcoder:fix <issue-description>

Parameters

issue-descriptionClear description of the bug or issue to fix

When to Use

Bug reports, fixing failing tests, addressing user-reported issues

Best For

Safe bug fixes in legacy code, maintaining codebase stability, team development

Real-World Example

/siftcoder:fix 'Login form not validating email format correctly'
# Analyzes issue, implements fix, runs tests, validates solution

/siftcoder:improve

Auto

Improve code quality

What It Does

Enhances code quality by applying best practices, improving performance, and increasing maintainability. Respects scope boundaries and includes comprehensive testing.

Usage

/siftcoder:improve <target>

Parameters

targetFile, directory, or component to improve (optional)

When to Use

Code quality initiatives, reducing technical debt, performance optimization

Best For

Gradual codebase improvement, maintaining high quality standards

Real-World Example

/siftcoder:improve src/components/UserProfile
# Optimizes rendering, improves types, adds error handling

/siftcoder:scope

Auto

Manage file modification boundaries

What It Does

Define which files can be modified by commands. Protects critical files from accidental changes while allowing focused work on specific areas. Essential for safe maintenance of large or legacy codebases.

Usage

/siftcoder:scope [add|remove|show|clear] [path]

Parameters

add <path>Add files/directories to modifiable scope
remove <path>Remove files/directories from scope
showDisplay current scope boundaries
clearRemove all scope restrictions

When to Use

Working on large codebases, team development, maintaining critical systems

Best For

Legacy code maintenance, team coordination, preventing accidental breaking changes

Real-World Example

/siftcoder:scope add src/components/UserProfile
/siftcoder:fix 'Update user avatar'
# Only UserProfile component can be modified