Skip to content
Back to skills

898 Feature Completeness Checker 96f7d59a

ASecurity

Technical design for the completeness verification logic.

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 11, 2026
testinggoapi

Works with

  • cursor
  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 898-feature-completeness-checker_96f7d59a --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 898 Feature Completeness Checker 96f7d59a?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 898 Feature Completeness Checker 96f7d59a
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-898-feature-completeness-checker-96f7d59a/badge)](https://www.skillsdirectory.com/skills/tools-only-898-feature-completeness-checker-96f7d59a)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
phase: design
title: System Design - Completeness Checker
description: Technical design for the completeness verification logic.
---

# System Design & Architecture

## Architecture Overview
**What is the high-level system structure?**

The `CompletenessChecker` takes two strings (source and target), segments the source, and searches for each segment in the target.

```mermaid
graph TD
    PDF[PDF Text] --> Seg[text_segmenter.py]
    Seg --> Chunks[List of Chunks]
    EPUB[EPUB Text] --> Matcher[CompletenessChecker]
    Chunks --> Matcher
    Matcher --> Report[List of Missing Chunks]
```

## Data Models
**What data do we need to manage?**

- **ValidationResult:** Dataclass containing a list of `ValidationFailure` objects and a score.
- **ValidationFailure:** Dataclass with the missing `Chunk` and suggested location (if partial match found).

## API Design
**How do components communicate?**

### Primary Interface
- `class CompletenessChecker`:
    - `__init__(source_text: str, target_text: str)`
    - `check(chunk_size: int, overlap: int) -> ValidationResult`

## Component Breakdown
**What are the major building blocks?**

- **Segmenter Hub:** Utilizes `segment_text` to prepare the source.
- **Search Engine:** Performs efficient substring lookups. To optimize, the engine uses a **sliding search cursor**: searching for the next chunk starts near the position of the previous match, significantly reducing scan surface.
- **Noise Filter:** A post-processing step that filters out missing chunks that are shorter than a specific threshold or consist only of numbers.

## Design Decisions
**Why did we choose this approach?**

- **Sliding Window:** Essential because a loss of text might start in the middle of a fixed block. Overlap ensures we catch mismatches at boundaries.
- **Simple Substring Search:** Before using complex Diff algorithms, simple searching is faster and more precise for "completeness" checks.

## Non-Functional Requirements
**How should the system perform?**

- **Accuracy:** Zero false positives for identical texts.
- **Execution Time:** Under 1 second for a 100,000-character text check.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.