boundary-bbcr-fallback
Execute automatic BBCR (Collapse-Rebirth Correction) when knowledge boundaries are exceeded or reasoning fails.
Write unit and integration tests
$ npx -y skills add qdhenry/Claude-Command-Suite --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/write-testsContext preview
What this command does when you run it.
Write unit and integration tests
Write unit and integration tests
Follow this systematic approach to write effective tests: **$ARGUMENTS**
1. **Test Framework Detection**
2. **Code Analysis for Testing**
3. **Test Strategy Planning**
4. **Unit Test Implementation**
5. **Test Structure and Organization**
6. **Mocking and Stubbing**
7. **Data Setup and Teardown**
8. **Integration Test Writing**
9. **Error and Exception Testing**
10. **Performance and Load Testing**
11. **Security Testing**
12. **Accessibility Testing (for UI)**
13. **Cross-Platform Testing**
14. **Test Utilities and Helpers**
15. **Snapshot and Visual Testing**
16. **Async Testing**
17. **Test Documentation**
18. **Test Maintenance**
**Framework-Specific Guidelines:**
**Jest/JavaScript:**
describe('ComponentName', () => {
beforeEach(() => {
// Setup
});
it('should handle valid input correctly', () => {
// Arrange
const input = 'test';
// Act
const result = functionToTest(input);
// Assert
expect(result).toBe(expectedValue);
});
});**PyTest/Python:**
class TestClassName:
def setup_method(self):
# Setup
pass
def test_should_handle_valid_input(self):
# Arrange
input_data = "test"
# Act
result = function_to_test(input_data)
# Assert
assert result == expected_value**RSpec/Ruby:**
RSpec.describe ClassName do
describe '#method_name' do
it 'handles valid input correctly' do
# Arrange
input = 'test'
# Act
result = subject.method_name(input)
# Assert
expect(result).to eq(expected_value)
end
end
endRemember to prioritize testing critical business logic and user-facing functionality first, then expand coverage to supporting code.
A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.
Repo: qdhenry/Claude-Command-Suite
Execute automatic BBCR (Collapse-Rebirth Correction) when knowledge boundaries are exceeded or reasoning fails.
Analyze semantic position relative to knowledge boundaries to prevent hallucination and identify uncertainty zones.
Generate a visual heatmap of knowledge boundaries showing safe zones, risk areas, and semantic coverage.
Evaluate the current risk level and provide detailed analysis of potential hallucination or reasoning failure.
Find and construct semantic bridges to safely navigate from current position to target concept without crossing dangerous boundaries.
Takes an input prompt and returns ONLY a token-optimized version that preserves meaning while minimizing token count. Based on LLM tokenization principles:…