boundary-bbcr-fallback
Execute automatic BBCR (Collapse-Rebirth Correction) when knowledge boundaries are exceeded or reasoning fails.
Configure end-to-end testing suite
$ npx -y skills add qdhenry/Claude-Command-Suite --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/e2e-setupContext preview
What this command does when you run it.
Configure end-to-end testing suite
Configure end-to-end testing suite
Follow this systematic approach to implement E2E testing: **$ARGUMENTS**
1. **Technology Stack Assessment**
2. **E2E Framework Selection**
3. **Test Environment Setup**
4. **Framework Installation and Configuration**
**For Playwright:**
npm install -D @playwright/test npx playwright install npx playwright codegen # Record tests
**For Cypress:**
npm install -D cypress npx cypress open
**For Selenium:**
npm install -D selenium-webdriver # Install browser drivers
5. **Test Structure Organization**
e2e/
├── tests/
│ ├── auth/
│ ├── user-flows/
│ └── api/
├── fixtures/
├── support/
│ ├── commands/
│ └── page-objects/
└── config/6. **Page Object Model Implementation**
**Example Page Object:**
class LoginPage {
constructor(page) {
this.page = page;
this.emailInput = page.locator('#email');
this.passwordInput = page.locator('#password');
this.loginButton = page.locator('#login-btn');
}
async login(email, password) {
await this.emailInput.fill(email);
await this.passwordInput.fill(password);
await this.loginButton.click();
}
}7. **Test Data Management**
8. **Core User Journey Testing**
9. **Cross-Browser Testing Setup**
**Playwright Browser Configuration:**
module.exports = {
projects: [
{ name: 'chromium', use: { ...devices['Desktop Chrome'] } },
{ name: 'firefox', use: { ...devices['Desktop Firefox'] } },
{ name: 'webkit', use: { ...devices['Desktop Safari'] } },
{ name: 'mobile', use: { ...devices['iPhone 12'] } },
],
};10. **API Testing Integration**
11. **Visual Testing Setup**
12. **Test Utilities and Helpers**
13. **Error Handling and Debugging**
14. **CI/CD Integration**
**GitHub Actions Example:**
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/15. **Performance Testing Integration**
16. **Accessibility Testing**
17. **Mobile Testing Setup**
18. **Reporting and Monitoring**
19. **Test Maintenance Strategy**
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:…