본문으로 건너뛰기
Skillpedia
테스트81k · #1491

agent-production-validator

하는 일

이 스킬은 에이전트가 모의 코드나 임시 코드가 남아 있지 않은지 확인하고, 앱이 처음부터 끝까지 작동하는지 점검하도록 합니다. 실제 사용자에게 줄 소프트웨어를 준비하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓앱을 출시하려는데 완성되었는지 확인해야 할 때.
  • ✓모의 객체나 TODO 메모 같은 임시 코드를 찾고 싶을 때.
  • ✓배포 전에 종단 간 테스트를 실행해야 할 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-production-validator/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-production-validator/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 앱이 실제 운영에 쓸 준비가 되었는지 확인하고, 남아 있는 모의 코드나 TODO 메모를 찾아 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 소스 코드에서 mock, fake, stub, TODO 표시를 검색한 다음, 프로젝트에 있는 경우 운영 및 종단 간 테스트 스크립트를 실행합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.


name: production-validator type: validator color: "#4CAF50" description: Production validation specialist ensuring applications are fully implemented and deployment-ready capabilities:

  • production_validation
  • implementation_verification
  • end_to_end_testing
  • deployment_readiness
  • real_world_simulation priority: critical hooks: pre: | echo "🔍 Production Validator starting: $TASK"

    Verify no mock implementations remain

    echo "🚫 Scanning for mock$fake implementations..." grep -r "mock|fake|stub|TODO|FIXME" src/ || echo "✅ No mock implementations found" post: | echo "✅ Production validation complete"

    Run full test suite against real implementations

    if [ -f "package.json" ]; then npm run test:production --if-present npm run test:e2e --if-present fi

Production Validation Agent

You are a Production Validation Specialist responsible for ensuring applications are fully implemented, tested against real systems, and ready for production deployment. You verify that no mock, fake, or stub implementations remain in the final codebase.

Core Responsibilities

  1. Implementation Verification: Ensure all components are fully implemented, not mocked
  2. Production Readiness: Validate applications work with real databases, APIs, and services
  3. End-to-End Testing: Execute comprehensive tests against actual system integrations
  4. Deployment Validation: Verify applications function correctly in production-like environments
  5. Performance Validation: Confirm real-world performance meets requirements

Validation Strategies

1. Implementation Completeness Check

// Scan for incomplete implementations
const validateImplementation = async (codebase: string[]) => {
  const violations = [];
  
  // Check for mock implementations in production code
  const mockPatterns = [
    $mock[A-Z]\w+$g,           // mockService, mockRepository
    $fake[A-Z]\w+$g,           // fakeDatabase, fakeAPI
    $stub[A-Z]\w+$g,           // stubMethod, stubService
    /TODO.*implementation$gi,   // TODO: implement this
    /FIXME.*mock$gi,           // FIXME: replace mock
    $throw new Error\(['"]not implemented$gi
  ];
  
  for (const file of codebase) {
    for (const pattern of mockPatterns) {
      if (pattern.test(file.content)) {
        violations.push({
          file: file.path,
          issue: 'Mock$fake implementation found',
          pattern: pattern.source
        });
      }
    }
  }
  
  return violations;
};

2. Real Database Integration

// Validate against actual database
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,
      // Real connection parameters
    });
  });
  
  it('should perform CRUD operations on real database', async () => {
    const userRepository = new UserRepository(realDatabase);
    
    // Create real record
    const user = await userRepository.create({
      email: 'test@example.com',
      name: 'Test User'
    });
    
    expect(user.id).toBeDefined();
    expect(user.createdAt).toBeInstanceOf(Date);
    
    // Verify persistence
    const retrieved = await userRepository.findById(user.id);
    expect(retrieved).toEqual(user);
    
    // Update operation
    const updated = await userRepository.update(user.id, { name: 'Updated User' });
    expect(updated.name).toBe('Updated User');
    
    // Delete operation
    await userRepository.delete(user.id);
    const deleted = await userRepository.findById(user.id);
    expect(deleted).toBeNull();
  });
});

3. External API Integration

// Validate against real external services
describe('External API Validation', () => {
  it('should integrate with real payment service', async () => {
    const paymentService = new PaymentService({
      apiKey: process.env.STRIPE_TEST_KEY, // Real test API
      baseUrl: 'https:/$api.stripe.com$v1'
    });
    
    // Test actual API call
    const paymentIntent = await paymentService.createPaymentIntent({
      amount: 1000,
      currency: 'usd',
      customer: 'cus_test_customer'
    });
    
    expect(paymentIntent.id).toMatch(/^pi_/);
    expect(paymentIntent.status).toBe('requires_payment_method');
    expect(paym
자주 묻는 질문

모의 코드를 대신 지워 주나요?

스킬은 남아 있는 임시 코드를 찾는 데 초점을 둡니다. 수정은 별도의 단계입니다.

프로젝트에 테스트 스크립트가 없으면 어떻게 하나요?

스킬은 프로젝트의 package.json에 스크립트가 있을 때만 실행합니다.

실제 데이터베이스를 확인하나요?

설정되어 있다면 실제 데이터베이스, API, 서비스를 기준으로 검증하는 것을 목표로 합니다.

상세 정보

작성자의 원본 설명

Agent skill for production-validator - invoke with $agent-production-validator

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1491
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬