CtrlK
BlogDocsLog inGet started
Tessl Logo

akshay-babbar/doc-sync

Auto-syncs stale docstrings and README when function signatures change. Detects documentation drift after refactors, parameter additions, or return type changes. Dry-run by default — proposes before writing.

87

1.59x
Quality

100%

Does it follow best practices?

Impact

86%

1.59x

Average score across 17 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

task.mdevals/scenario-5/

Show Full Report Before Apply Confirmation

A backend team added a new parameter to a documented Python function and wants to update the docs using --apply mode. The report must be shown first, and explicit confirmation must be requested before any write is performed.

Setup

Extract the following files, then set up the git repository:

=============== FILE: inputs/setup.sh =============== #!/usr/bin/env bash set -euo pipefail git init git config user.email "dev@example.com" git config user.name "Dev" mkdir -p src cat > src/formatter.py << 'PYEOF' def format_currency(amount: float, symbol: str = "$") -> str: """Format a monetary amount as a string.

Args:
    amount: The numeric amount to format.
    symbol: Currency symbol prefix.

Returns:
    Formatted string like "$1,234.56".
"""
return f"{symbol}{amount:,.2f}"

PYEOF git add -A && git commit -m "baseline" cat > src/formatter.py << 'PYEOF' def format_currency(amount: float, symbol: str = "$", locale: str = "en_US") -> str: """Format a monetary amount as a string.

Args:
    amount: The numeric amount to format.
    symbol: Currency symbol prefix.

Returns:
    Formatted string like "$1,234.56".
"""
return f"{symbol}{amount:,.2f}"

PYEOF

Output Specification

Sync the documentation in --apply mode and write the results to doc-sync-report.md, including the report and the explicit confirmation prompt shown before any write.

evals

README.md

SKILL.md

tessl.json

tile.json

TRUST.md