スキル一覧に戻る
miguel-vila

add-bank-parser

by miguel-vila

0🍴 0📅 2026年1月21日
GitHubで見るManusで実行

SKILL.md


name: add-bank-parser description: Guide for adding a new bank parser to extract mortgage rates. Use when implementing parsers for BBVA, Caja Social, AV Villas, Itaú, or any new Colombian bank.

Add Bank Parser

This skill guides you through adding a new bank parser to extract mortgage rates from HTML pages or PDF documents.

When to Use

  • Implementing a new bank's rate parser
  • The bank has a public rate disclosure (HTML or PDF)
  • The bank is listed in BankId enum or needs to be added

Quick Steps

  1. Download fixture to fixtures/{bank_id}/
  2. Analyze structure - extract text from PDF or inspect HTML
  3. Implement parser in packages/updater/src/parsers/{bank_id}.ts
  4. Register parser in packages/updater/src/parsers/index.ts
  5. Write tests in packages/updater/src/parsers/{bank_id}.test.ts
  6. Update PROGRESS.md

Key Files

  • Parser interface: packages/updater/src/parsers/types.ts
  • HTML example: packages/updater/src/parsers/bancolombia.ts
  • PDF example: packages/updater/src/parsers/scotiabank.ts
  • CloudFront WAF example: packages/updater/src/parsers/banco-de-occidente.ts
  • Utilities: packages/updater/src/utils/numbers.ts

Commands

# Run tests for a specific parser
pnpm --filter @compara-tasa/updater test -- --run {bank_id}

# Run all tests
pnpm --filter @compara-tasa/updater test -- --run

# Type check
pnpm typecheck

# Run the updater
pnpm --filter @compara-tasa/updater build && pnpm update-rates

Detailed Instructions

Read content.md in this skill folder for:

  • Fixture download commands
  • PDF text extraction script
  • Complete parser template
  • Test template
  • Rate type examples
  • Utility function reference
  • Common issues and solutions
  • CloudFront WAF bypass using Playwright + stealth plugin

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です