← Back to list

add-bank-parser
by miguel-vila
⭐ 0🍴 0📅 Jan 21, 2026
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
BankIdenum or needs to be added
Quick Steps
- Download fixture to
fixtures/{bank_id}/ - Analyze structure - extract text from PDF or inspect HTML
- Implement parser in
packages/updater/src/parsers/{bank_id}.ts - Register parser in
packages/updater/src/parsers/index.ts - Write tests in
packages/updater/src/parsers/{bank_id}.test.ts - 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
Score
Total Score
50/100
Based on repository quality metrics
✓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
Reviews
💬
Reviews coming soon