| name | testing-production-1-implementation-completeness-check |
| description | Sub-skill of testing-production: 1. Implementation Completeness Check (+2). |
| version | 1.0.0 |
| category | development |
| type | reference |
| scripts_exempt | true |
1. Implementation Completeness Check (+2)
1. Implementation Completeness Check
const validateImplementation = async (codebase: string[]): Promise<Violation[]> => {
const violations: Violation[] = [];
const mockPatterns = [
/mock[A-Z]\w+/g,
/fake[A-Z]\w+/g,
/stub[A-Z]\w+/g,
/TODO.*implementation/gi,
*See sub-skills for full details.*
## 2. Real Database Validation
```typescript
describe('Database Integration Validation', () => {
let realDatabase: Database;
beforeAll(async () => {
// Connect to actual test database (NOT in-memory)
realDatabase = await DatabaseConnection.connect({
host: process.env.TEST_DB_HOST,
database: process.env.TEST_DB_NAME,
port: parseInt(process.env.TEST_DB_PORT || '5432'),
*See sub-skills for full details.*
## 3. External API Validation
```typescript
describe('External API Validation', () => {
it('should integrate with real payment service', async () => {
const paymentService = new PaymentService({
apiKey: process.env.STRIPE_TEST_KEY,
baseUrl: 'https://api.stripe.com/v1'
});
const paymentIntent = await paymentService.createPaymentIntent({
*See sub-skills for full details.*