Xpersona
Q

Qa Skill

CLAWHUB · Unverified

Generate comprehensive test cases and quality assurance documentation from SwiftUI iOS code. Use when iOS application code is available and needs testing str... Skill: Qa Skill Owner: tc1993 Summary: Generate comprehensive test cases and quality assurance documentation from SwiftUI iOS code. Use when iOS application code is available and needs testing str... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-03-24T09:05:01.278Z | auto - Improved documentation clarity with English descriptions for broader accessibility. - Expanded explanation of testing strategies, including f

62
Rank
84
Safety
968
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 968 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1730wphfenf75zqajhj3w6xx583h199:qa-skill
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-tc1993-qa-skill/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

15,158 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: qa-skill
description: Generate comprehensive test cases and quality assurance documentation from SwiftUI iOS code. Use when iOS application code is available and needs testing strategies, test cases, and quality validation. This skill receives input from dev-skill and completes the auto-dev-pipeline by providing testing coverage.
---

# QA Skill - Quality Assurance Test Generator

## Overview

This skill analyzes SwiftUI iOS application code and generates comprehensive test cases, testing strategies, and quality assurance documentation. It ensures code quality, identifies potential issues, and provides testing coverage for the entire application.

## Testing Strategy

### 1. Test Pyramid Approach
- **Unit Tests (70%)**: Test individual components and business logic
- **Integration Tests (20%)**: Test component interactions and data flow
- **UI Tests (10%)**: Test user interface and user flows

### 2. Test Categories

#### 2.1 Functional Testing
- Feature validation against PRD requirements
- User story acceptance criteria
- Edge cases and boundary conditions

#### 2.2 Non-Functional Testing
- Performance testing (load time, memory usage)
- Security testing (data protection, authentication)
- Accessibility testing (VoiceOver, Dynamic Type)
- Compatibility testing (iOS versions, device sizes)

#### 2.3 Regression Testing
- Ensure new changes don't break existing functionality
- Automated test suite for critical paths
- Smoke tests for release validation

## Test Generation Workflow

### 1. Code Analysis
- Parse SwiftUI project structure
- Identify ViewModels and business logic
- Map data flows and dependencies
- Analyze PRD requirements for test coverage

### 2. Test Case Generation

#### 2.1 Unit Test Templates
```swift
import XCTest
@testable import ProjectName

class TaskViewModelTests: XCTestCase {
    var viewModel: TaskViewModel!
    var mockDataService: MockDataService!
    
    override func setUp() {
        super.setUp()
        mockDataService = MockDataService()
        viewModel = TaskViewModel(dataService: mockDataService)
    }
    
    func testAddTask() {
        // Given
        let initialCount = viewModel.tasks.count
        let newTask = Task(title: "Test Task")
        
        // When
        viewModel.addTask(newTask)
        
        // Then
        XCTAssertEqual(viewModel.tasks.count, initialCount + 1)
        XCTAssertEqual(viewModel.tasks.last?.title, "Test Task")
    }
    
    func testDeleteTask() { ... }
    func testToggleCompletion() { ... }
    func testFilterByCategory() { ... }
}
```

#### 2.2 UI Test Templates
```swift
import XCTest

class ProjectNameUITests: XCTestCase {
    var app: XCUIApplication!
    
    override func setUp() {
        super.setUp()
        app = XCUIApplication()
        app.launch()
    }
    
    func testTaskCreationFlow() {
        // Given: App is launched
        XCTAssertTrue(app.navigationBars["Tasks"].exists)
        
        // When: Tap add button
        app.button

_meta.json

{
  "ownerId": "kn780rgz487zeyxrm8jhzdendd82b5x9",
  "slug": "qa-skill",
  "version": "1.0.1",
  "publishedAt": 1774343101278
}

skill-card.md

## Description:

Generate comprehensive test cases and quality assurance documentation from SwiftUI iOS code.

This skill is ready for commercial/non-commercial use.

## Publisher:

[tc1993](https://clawhub.ai/user/tc1993)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and QA engineers use this skill to analyze SwiftUI iOS application code and produce test strategies, XCTest coverage, QA documentation, quality metrics, and release-readiness guidance.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill reads project requirements and code, then writes generated QA artifacts under qa-output/.

Mitigation: Review generated XCTest files and reports before adding them to a production project, and inspect existing qa-output/ contents before accepting generated files.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/tc1993/skills/qa-skill)

## Skill Output:

**Output Type(s):** [Text, Markdown, Code, Files, Guidance]

**Output Format:** [Markdown documentation, Swift/XCTest code, QA reports, and generated files under qa-output/]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Generates test plans, test files, quality metrics, recommendations, and release-readiness checklists.]

## Skill Version(s):

1.0.1 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Qa Skill and adjacent AI workflows.