Skip to content

Commit be2a53e

Browse files
committed
fix: Added more upcoming premium features
1 parent cb6fb8b commit be2a53e

29 files changed

+218
-105
lines changed

.claude/commands/implement.md

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ model: opus
66

77
**Execute ALL tasks continuously. NO stopping unless context manager says context is full.**
88

9+
## CRITICAL: No Sub-Agents During Implementation
10+
11+
**NEVER use the Task tool or spawn sub-agents during implementation.** Sub-agents slow down execution and waste context. Instead:
12+
- Use direct tools: Read, Grep, Glob, Bash, Write, Edit
13+
- Use MCP tools directly: Exa, Cipher, Claude Context
14+
- If you need external docs, use `mcp__exa__get_code_context_exa()` directly
15+
916
## MCP Servers - Use Throughout Implementation
1017

1118
| Server | Purpose | When to Use |
@@ -34,6 +41,19 @@ model: opus
3441
- Claude Context: Related patterns and components
3542
- Exa: External documentation if needed
3643

44+
## TDD is MANDATORY
45+
46+
**No production code without a failing test first.** Follow the TDD rules in your context.
47+
48+
| Requires TDD | Skip TDD |
49+
|--------------|----------|
50+
| New functions/methods | Documentation changes |
51+
| API endpoints | Config file updates |
52+
| Business logic | IaC code (CDK, Terraform, Pulumi) |
53+
| Bug fixes | Formatting/style changes |
54+
55+
**The TDD enforcer hook will warn you if you skip this.**
56+
3757
## Per-Task Execution Flow
3858

3959
**For EVERY task, follow this exact sequence:**
@@ -45,16 +65,16 @@ model: opus
4565
- **Side Effects:** Check for database, cache, external system impacts
4666
3. **Mark task as in_progress** in TodoWrite
4767
4. **Check diagnostics** - `mcp__ide__getDiagnostics()`
48-
5. **Execute TDD Flow:**
49-
- Write failing test first (RED phase)
50-
- Implement minimal code to pass (GREEN phase)
51-
- Refactor if needed (REFACTOR phase)
68+
5. **Execute TDD Flow (RED → GREEN → REFACTOR):**
69+
- Write failing test first, **verify it fails**
70+
- Implement minimal code to pass
71+
- Refactor if needed (keep tests green)
5272
6. **Verify tests pass** - `uv run pytest tests/path/to/test.py -v`
5373
7. **Run actual program** - Show real output with sample data
5474
8. **Check diagnostics again** - Must be zero errors
5575
9. **Validate Definition of Done** - Check all criteria from plan
5676
10. **Mark task completed** in TodoWrite
57-
11. **Update plan file** - Change `[ ]` to `[x]`
77+
11. **Update plan's Progress Tracking** - Change `[ ]` to `[x]`, update Completed/Remaining counts
5878
12. **Check context usage**
5979

6080
## Critical Task Rules
@@ -76,7 +96,15 @@ Before marking complete:
7696

7797
## When All Tasks Complete
7898

99+
**⚠️ CRITICAL: Follow these steps exactly:**
100+
79101
1. Quick verification: `mcp__ide__getDiagnostics()` and `uv run pytest`
80102
2. Store learnings in Cipher
81-
3. Inform user: "✅ All tasks complete. Run `/verify`"
82-
4. DO NOT run /verify yourself
103+
3. **MANDATORY: Update plan status to COMPLETE**
104+
```
105+
Edit the plan file and change the Status line:
106+
Status: PENDING → Status: COMPLETE
107+
```
108+
This triggers the Rules Supervisor on your next response.
109+
4. Inform user: "✅ All tasks complete. Run `/verify`"
110+
5. DO NOT run /verify yourself

.claude/commands/plan.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,12 @@ Questions:
223223
> **IMPORTANT:** Start with fresh context. Run `/clear` before `/implement`.
224224

225225
Created: [Date]
226-
Status: PENDING APPROVAL
226+
Status: PENDING
227+
228+
> **Status Lifecycle:** PENDING → COMPLETE → VERIFIED
229+
> - PENDING: Initial state, awaiting implementation
230+
> - COMPLETE: All tasks implemented (set by /implement)
231+
> - VERIFIED: Rules supervisor passed (set automatically)
227232

228233
## Summary
229234
**Goal:** [One sentence describing what this builds]
@@ -253,10 +258,14 @@ Status: PENDING APPROVAL
253258
- [Integration points or dependencies]
254259

255260
## Progress Tracking
261+
262+
**MANDATORY: Update this checklist as tasks complete. Change `[ ]` to `[x]`.**
263+
256264
- [ ] Task 1: [Brief summary]
257265
- [ ] Task 2: [Brief summary]
266+
- [ ] ...
258267

259-
**Total Tasks:** [Number] (Max: 12)
268+
**Total Tasks:** [Number] | **Completed:** 0 | **Remaining:** [Number]
260269

261270
## Implementation Tasks
262271

.claude/commands/verify.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,15 @@ newman run postman/collections/api-tests.json \
131131
- Code review checklist complete
132132
- No breaking changes in call chains
133133

134+
### Step 10: Update Plan Status
135+
136+
**When all verification passes:**
137+
138+
1. **MANDATORY: Update plan status to VERIFIED**
139+
```
140+
Edit the plan file and change the Status line:
141+
Status: REVIEWED → Status: VERIFIED
142+
```
143+
2. Inform user: "✅ Verification complete. Plan status updated to VERIFIED."
144+
134145
**Fix immediately | Test after each fix | No "should work" - verify it works | Keep fixing until green**

.claude/settings.local.template.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,17 @@
6161
"enableAllProjectMcpServers": true,
6262
"enabledMcpjsonServers": ["exa", "claude-context", "cipher", "mcp-funnel"],
6363
"hooks": {
64+
"PreToolUse": [
65+
{
66+
"matcher": "Write|Edit",
67+
"hooks": [
68+
{
69+
"type": "command",
70+
"command": "{{PROJECT_DIR}}/.claude/bin/ccp-premium tdd-enforcer"
71+
}
72+
]
73+
}
74+
],
6475
"PostToolUse": [
6576
{
6677
"matcher": "Write|Edit|MultiEdit",
@@ -84,6 +95,17 @@
8495
}
8596
]
8697
}
98+
],
99+
"Stop": [
100+
{
101+
"matcher": ".*",
102+
"hooks": [
103+
{
104+
"type": "command",
105+
"command": "{{PROJECT_DIR}}/.claude/bin/ccp-premium rules-supervisor-hook"
106+
}
107+
]
108+
}
87109
]
88110
},
89111
"statusLine": {

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656

5757
- name: Decrypt premium folder
5858
env:
59+
# yamllint disable-line rule:truthy
5960
GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY }}
6061
run: |
6162
echo "$GIT_CRYPT_KEY" | base64 -d > /tmp/git-crypt.key
@@ -74,7 +75,7 @@ jobs:
7475
apt-get install -y python3 python3-pip && \
7576
python3 -m pip install --upgrade pip && \
7677
python3 -m pip install pyinstaller && \
77-
python3 build.py
78+
python3 build_cicd.py
7879
"
7980
8081
- name: Upload artifact
@@ -108,6 +109,7 @@ jobs:
108109

109110
- name: Decrypt premium folder
110111
env:
112+
# yamllint disable-line rule:truthy
111113
GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY }}
112114
run: |
113115
echo "$GIT_CRYPT_KEY" | base64 -d > /tmp/git-crypt.key
@@ -124,7 +126,7 @@ jobs:
124126
run: |
125127
python -m pip install --upgrade pip
126128
python -m pip install pyinstaller
127-
python build.py
129+
python build_cicd.py
128130
129131
- name: Upload artifact
130132
uses: actions/upload-artifact@v5

README.md

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Start shipping systematically with Spec-Driven Development, Skills, TDD, Semanti
1313
![TDD](https://img.shields.io/badge/TDD-Test--Driven--Development-green.svg)
1414
[![PRs Welcome](https://img.shields.io/badge/PRs-Welcome-brightgreen.svg)](http://makeapullrequest.com)
1515

16-
#### [⭐ Star this repo](https://github.com/maxritter/claude-codepro)[🎓 Join the Academy](https://www.claude-code.pro)[📦 Releases](https://github.com/maxritter/claude-codepro/releases)
16+
#### [⭐ Star this repo](https://github.com/maxritter/claude-codepro)[💎 Premium Features (Coming Soon!)](https://www.claude-code.pro)
1717

1818
</div>
1919

@@ -107,35 +107,25 @@ The installer will guide you through the setup process with interactive prompts.
107107

108108
Add custom rules by creating `.md` files in `.claude/rules/custom/` - they'll be included automatically on next `ccp` start.
109109

110-
## ⚖️ What Makes This Different
110+
---
111111

112-
**Compared to Other Spec-Driven Frameworks (SpecKit, AgentOS, OpenSpec):**
112+
## 💎 Premium Features (Coming Soon!)
113113

114-
- 📦 **One-Line Installation** - No containers, no complex setup, just one curl command
115-
- 🤓 **Language Agnostic** - Works with Python, Node.js, Go, Rust, or any language
116-
- 💾 **Persistent Memory** - Cross-session memory maintains knowledge between resets
117-
-**Token-Optimized** - No tokens wasted during too complex planning, just works
118-
-**Production-Grade** - Actively used in client and enterprise projects
119-
- 📝 **Enforced TDD** - Code written before tests gets deleted automatically
120-
- 💯 **Real Verification** - Must show actual outputs based on tests, not assumptions
121-
- 🛠️ **Complete Ecosystem** - Skills, MCP servers, testing tools are integrated and configured
114+
Take your Claude Code workflow to the next level with these powerful premium features:
122115

123-
---
116+
### 🔍 AI Rules Supervisor
124117

125-
## 👥 Who This Is For
118+
AI-powered session analysis using Gemini 3.0 Pro that checks your entire coding session against project rules. When violations are found, Claude Code is automatically instructed to fix them - ensuring full compliance before you finish.
126119

127-
- **Professional Developers** - Shipping to production with quality standards
128-
- **Solo Builders** - Managing complex features without losing context
129-
- **Engineering Teams** - Ensuring consistent TDD and code quality
130-
- **Frustrated Coders** - Tired of half-tested, "should work" implementations
120+
### 🧪 Automated TDD Enforcer
131121

132-
---
122+
Automatically enforces Test-Driven Development by blocking code edits when no failing tests exist. Ensures you always write tests first, with a smart override mechanism for edge cases.
133123

134-
## 🎓 Claude CodePro Academy Coming Soon!
124+
### 📊 Intelligent Context Monitor
135125

136-
If you want to dive deeper into the setup and advanced usage of Claude CodePro, check out the upcoming academy that starts with 10 comprehensive modules where we do a deep-dive into all important topics:
126+
Automatic context management that kicks in when you reach 100% context usage. Claude CodePro automatically stores learnings in cross-session memory and updates the plan file, so you can seamlessly continue after `/clear` without losing progress.
137127

138-
➡️ **[www.claude-code.pro](https://www.claude-code.pro)**
128+
➡️ **[Coming soon at www.claude-code.pro](https://www.claude-code.pro)**
139129

140130
---
141131

premium/build.py

-3.48 KB
Binary file not shown.

premium/build_cicd.py

4.5 KB
Binary file not shown.

premium/build_local.py

1.85 KB
Binary file not shown.

premium/pyproject.toml

4 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)