Skip to content

Commit bff0258

Browse files
authored
Merge pull request #934 from rtk-ai/develop
fix(refacto): wrappers for standardization, exit codes lexer tokenizer, constants, code clean
2 parents b812a0e + 5bd35a3 commit bff0258

98 files changed

Lines changed: 3543 additions & 3760 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/skills/code-simplifier/SKILL.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ triggers:
77
- "over-engineered"
88
- "refactor this"
99
- "make this idiomatic"
10+
allowed-tools:
11+
- Read
12+
- Grep
13+
- Glob
14+
- Edit
15+
effort: low
16+
tags: [rust, simplify, refactor, idioms, rtk]
1017
---
1118

1219
# RTK Code Simplifier

.claude/skills/design-patterns/SKILL.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ triggers:
66
- "how to structure"
77
- "best pattern for"
88
- "refactor to pattern"
9+
allowed-tools:
10+
- Read
11+
- Grep
12+
- Glob
13+
effort: medium
14+
tags: [rust, design-patterns, architecture, newtype, builder, rtk]
915
---
1016

1117
# RTK Rust Design Patterns

.claude/skills/issue-triage/SKILL.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
---
2+
name: issue-triage
23
description: >
34
Issue triage: audit open issues, categorize, detect duplicates, cross-ref PRs, risk assessment, post comments.
45
Args: "all" for deep analysis of all, issue numbers to focus (e.g. "42 57"), "en"/"fr" for language, no arg = audit only in French.
6+
allowed-tools:
7+
- Bash
8+
- Read
9+
- Grep
10+
effort: medium
11+
tags: [triage, issues, github, categorize, duplicates, risk]
512
---
613

714
# Issue Triage

.claude/skills/performance/SKILL.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ triggers:
88
- "benchmark"
99
- "binary size"
1010
- "memory usage"
11+
allowed-tools:
12+
- Bash
13+
- Read
14+
- Grep
15+
effort: medium
16+
tags: [performance, benchmark, startup, binary-size, memory, rtk]
1117
---
1218

1319
# RTK Performance Analysis

.claude/skills/pr-triage/SKILL.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
---
2+
name: pr-triage
23
description: >
34
PR triage: audit open PRs, deep review selected ones, draft and post review comments.
45
Args: "all" to review all, PR numbers to focus (e.g. "42 57"), "en"/"fr" for language, no arg = audit only in French.
6+
allowed-tools:
7+
- Bash
8+
- Read
9+
- Grep
10+
- Glob
11+
effort: medium
12+
tags: [triage, pr, github, review, code-review, rtk]
513
---
614

715
# PR Triage

.claude/skills/rtk-tdd/SKILL.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ description: >
55
implementation, testing, refactoring, and bug fixing tasks. Provides
66
Rust-idiomatic testing patterns with anyhow/thiserror, cfg(test), and
77
Arrange-Act-Assert workflow.
8+
allowed-tools:
9+
- Read
10+
- Write
11+
- Edit
12+
- Bash
13+
effort: medium
14+
tags: [tdd, testing, rust, red-green-refactor, rtk]
815
---
916

1017
# Rust TDD Workflow

.claude/skills/rtk-triage/SKILL.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
name: rtk-triage
23
description: >
34
Triage complet RTK : exécute issue-triage + pr-triage en parallèle,
45
puis croise les données pour détecter doubles couvertures, trous sécurité,
@@ -9,6 +10,8 @@ allowed-tools:
910
- Write
1011
- Read
1112
- AskUserQuestion
13+
effort: high
14+
tags: [triage, orchestration, issues, pr, security, cross-analysis, rtk]
1215
---
1316

1417
# /rtk-triage

.claude/skills/tdd-rust/SKILL.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ triggers:
88
- "write tests for"
99
- "test coverage"
1010
- "fix failing test"
11+
allowed-tools:
12+
- Read
13+
- Write
14+
- Edit
15+
- Bash
16+
effort: medium
17+
tags: [tdd, testing, rust, filters, snapshots, token-savings, rtk]
1118
---
1219

1320
# RTK TDD Workflow

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,18 @@ env:
1414
jobs:
1515
# ─── Fast gates (fail early, save CI minutes) ───
1616

17+
check-test-presence:
18+
name: test presence
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
with:
23+
fetch-depth: 50
24+
- name: Check filter modules have tests
25+
run: |
26+
git fetch origin "${{ github.base_ref }}" --depth=1 || true
27+
bash scripts/check-test-presence.sh "origin/${{ github.base_ref }}"
28+
1729
fmt:
1830
name: fmt
1931
runs-on: ubuntu-latest

Cargo.lock

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)