Agent Skill
2/7/2026

add-new-country

Create YAML tax configurations for new countries in the universal salary calculator. Use when: (1) Adding a new country to the calculator, (2) Adding a new tax year for existing country, (3) Creating variant configs (expat regimes, special tax rules), (4) Writing test vectors for configs. Triggers: "add country", "create config for", "new tax year", "add variant", "30% ruling config", etc. IMPORTANT: This skill includes automated test validation. All configs MUST pass `npm run test:configs` before completion. The skill guides you through research, implementation, test creation, validation, and debugging until all tests pass.

P
pascalwhoop
1GitHub Stars
1Views
npx skills add pascalwhoop/UniversalNetCalc

SKILL.md

Nameadd-new-country
DescriptionCreate YAML tax configurations for new countries in the universal salary calculator. Use when: (1) Adding a new country to the calculator, (2) Adding a new tax year for existing country, (3) Creating variant configs (expat regimes, special tax rules), (4) Writing test vectors for configs. Triggers: "add country", "create config for", "new tax year", "add variant", "30% ruling config", etc. IMPORTANT: This skill includes automated test validation. All configs MUST pass `npm run test:configs` before completion. The skill guides you through research, implementation, test creation, validation, and debugging until all tests pass.

Decidere

Decide where to live. Starting with accurate after-tax income calculations across 15+ countries.

Decidere (Latin: "to cut away options") — the act of moving from deliberation to action.

Quick Start

npm install
npm run dev

Open http://localhost:3000

Commands

  • npm run dev - Development server
  • npm run test - Run tests
  • npm run test:configs - Validate tax configs
  • npm run build - Build for production
  • npm run deploy - Deploy to Cloudflare

Contributing

Add new countries, tax years, or variants by creating YAML configs. The easiest way is using Claude:

With Claude (recommended):

  1. Open this repo in Claude Code
  2. Say: "add country [country name]" or "add [year] for [country]"
  3. Follow the guided workflow - it handles research, config creation, tests, and validation

Manual workflow:

  1. Create configs/<country>/<year>/base.yaml with tax rules
  2. Add test vectors in tests/ directory
  3. Run npm run test:configs to validate
  4. Submit a PR

Config-only PRs get fast-tracked (~30 seconds) with automated validation.

See CLAUDE.md for detailed contribution guide.

Architecture

  • Config-driven: Tax rules defined in YAML files (configs/)
  • Pure engine: TypeScript calculation engine with no framework dependencies
  • Next.js UI: React frontend deployed to Cloudflare Workers

See docs/ for detailed documentation.

Skills Info
Original Name:add-new-countryAuthor:pascalwhoop