documentation
Keep project documentation up to date
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Keep project documentation up to date
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
TDD workflow for implementing features
Test and validation workflow before commit
Manage and enforce project specifications for consistency
Designing premium user interfaces with egui
Critical analysis of trading techniques and financial innovation
Trading performance evaluation via backtesting and metrics
| name | Documentation |
| description | Keep project documentation up to date |
| Template | Usage |
|---|---|
templates/version_entry.md | Format for GLOBAL_APP_DESCRIPTION_VERSIONS.md |
templates/rustdoc.md | Rustdoc documentation for functions |
When: New feature, architecture change, new strategy
Content: Complete system overview, organized by sections:
When: On every significant commit
Format:
## Version X.Y.Z - YYYY-MM-DD
### Added
- New feature A
- New feature B
### Changed
- Behavior modification X
### Fixed
- Bug fix Y
### Removed
- Removed obsolete feature Z
When: On every release
SemVer rules:
| Change type | Version |
|---|---|
| Bug fix, patch | 0.0.X → 0.0.X+1 |
| New backward-compatible feature | 0.X.0 → 0.X+1.0 |
| Breaking change | X.0.0 → X+1.0.0 |
When: Adding or modifying trading strategies
Content per strategy:
For a new feature:
IMPORTANT: Skills must reflect the current state of the code.
| If you add... | Update... |
|---|---|
| New trading strategy | rust-trading/SKILL.md |
| New technical indicator | rust-trading/SKILL.md |
| New benchmark command | benchmarking/SKILL.md |
| New benchmark script | benchmarking/scripts/ |
| New test pattern | implementation/templates/test_module.md |
| New module structure | implementation/templates/module_structure.md |
| New doc convention | documentation/SKILL.md or templates/ |
| New quality rule | critical-review/SKILL.md |
| New validation step | testing/SKILL.md |
| New UI component | ui-design/SKILL.md |
| New system feature | spec-management/SKILL.md (Update specs/) |
/// Brief description of the function.
///
/// More detailed explanation if needed.
///
/// # Arguments
///
/// * `param1` - Description of param1
/// * `param2` - Description of param2
///
/// # Returns
///
/// Description of return value
///
/// # Errors
///
/// Description of possible errors
///
/// # Examples
///
/// ```
/// let result = my_function(arg1, arg2);
/// ```
pub fn my_function(param1: Type1, param2: Type2) -> Result<ReturnType, Error> {
// ...
}