erp-mafia/accounted
Skill Claude CodeCodex
Proactive loop that watches open PRs in erp-mafia/accounted, fixes failing CI, and addresses actionable review-bot / reviewer comments, on the PR branch, never merging. Use on a schedule (cloud routine) or on-demand via /loop-pr-ci-triage. Follows devdocs/loops.md (propose-don't-merge, dedupe, loop-verify gate).
erp-mafia/accounted
Skill Claude CodeCodex
Monthly loop that scans official Swedish sources for new or changed laws and rules affecting accounting/finance software (VAT, payroll, BFN standards, deadlines, BAS chart, e-invoicing), checks whether the codebase already handles each change, and files deduped GitHub issues for the gaps. Use monthly or on-demand via…
erp-mafia/accounted
Skill Claude CodeCodex
Loop that pulls recent production runtime errors from Vercel (via the Vercel MCP locally, or the Vercel API with a token), groups + dedupes them, files well-formed GitHub issues, and opens a fix PR only for clearly trivial/safe cases. Best run LOCALLY (the Vercel MCP is available there). Follows .claude/loops.md.
erp-mafia/accounted
Skill Claude CodeCodex
The self-verification gate every automated code change must pass before a loop opens a PR. Encodes Accounted's real CI commands (check:lint, vitest, pg-real, check:guards, no-extension-imports) plus the accounting guard rails and i18n sync. Invoke from any loop- skill after making a fix and before pushing.
erp-mafia/accounted
Skill Claude CodeCodex
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
erp-mafia/accounted
Skill Claude CodeCodex
Modifier for Swedish holding-aktiebolag (typiskt SNI 64.20): rena ägar-/förvaltningsbolag utan operativ omsättning vars resultat domineras av utdelning, koncernbidrag, ränteintäkter på koncerninterna lån och kapitalvinst på näringsbetingade andelar. Aktivera när AB:t har BAS 1310/1312/1330 dominerande i balansen utan…
erp-mafia/accounted
Skill Claude CodeCodex
Modifier for any Swedish legal entity with BOTH momspliktig and momsfri omsättning in the same juridisk person, cross-SNI. Use whenever the books touch blandad verksamhet, proportionell avdragsrätt, fördelningsnyckel, skälig grund, jämkning/justering av avdrag, frivillig skattskyldighet/beskattning, mixed VAT, partial…
erp-mafia/accounted
Skill Claude CodeCodex
Aktiebolag där en fysisk person äger > 50% av kapitalet (eller där 50%) klassas som fåmansbolag och omfattas av 3:12-reglerna. Den enskilda ägaren är samtidigt anställd ("verksam i betydande omfattning") och styr själv balansen mellan lön och utdelning. Avgörande för ekonomin men trivialt i löpande bokföring: modifern…
erp-mafia/accounted
Skill Claude CodeCodex
Turn an OpenAPI/Swagger spec (JSON or YAML, file or URL) into an installable agent skill for consuming that API. Use when the user invokes /openapi-to-skill, points at an openapi.json or swagger.yaml, or asks to "build a skill for this API" or "make these API docs agent-ready".
erp-mafia/accounted
Skill Claude CodeCodex
Open source license compliance reference for repo scanning, SBOM generation, copyleft contamination, and CI/CD enforcement. Covers SPDX License List (JSON ingestion, expressions, matching), REUSE, Apache 2.0 NOTICE, OSADL Compatibility Matrix, FSF GPL/LGPL logic, AGPL §13 network-use, SSPL §13 service source code, BSL…
erp-mafia/accounted
Skill Claude CodeCodex
OWASP ASVS v5.0.0 (May 2025) for repository and agentic application security auditing. Covers all 17 chapters V1-V17 (Encoding, Validation, Web Frontend, API, File Handling, Authentication, Session, Authorization, JWT, OAuth/OIDC, Cryptography, Secure Communication, Configuration, Data Protection, Secure Coding…
erp-mafia/accounted
Skill Claude CodeCodex
SOC 2 reference for repository and CI/CD compliance automation. Covers AICPA TSP Section 100 (2017, revised 2022), Type I vs Type II evidence collection, Common Criteria CC1-CC9, optional categories (Availability, Confidentiality, Processing Integrity, Privacy), the .compliance/ document layout, cross-framework…
erp-mafia/accounted
Skill Claude CodeCodex
Generate Supabase database migrations for the Accounted project with correct RLS policies, triggers, indexes, and Swedish accounting constraints. Use when creating new tables, adding columns, modifying constraints (e.g. sourcetype CHECK), or any DDL operation on the Supabase database. Ensures legal compliance with BFL…
erp-mafia/accounted
Skill Claude CodeCodex
Triage Accounted customer support emails and turn them into GitHub issues in the erp-mafia/gnubok repo. Use this skill whenever the user invokes /supportmail-to-ticket (with or without a number argument), or asks to 'triage support mail', 'turn support emails into tickets', 'process Accounted support', 'check the…
erp-mafia/accounted
Skill Claude CodeCodex
Swedish accounting law and compliance reference for developers building accounting software. Use this skill whenever working on features that touch Swedish bookkeeping rules, tax compliance, chart of accounts, financial reporting, or regulatory requirements. Triggers include any mention of BFL, BFNAR, BAS kontoplan…
erp-mafia/accounted
Skill Claude CodeCodex
Swedish fixed asset accounting (anläggningsredovisning) reference. Covers planenlig avskrivning, överavskrivning (2150/8850), räkenskapsenlig (30%/20%) vs restvärdeavskrivning (25%), BAS 10xx-12xx/78xx mapping, inventarieregister per BFL, förbrukningsinventarier (half PBB), leasing K2/K3/IFRS 16, komponentavskrivning…
erp-mafia/accounted
Skill Claude CodeCodex
Swedish e-invoicing (e-fakturering) reference. Covers Lag 2018:1277 B2G mandate, Peppol BIS Billing 3.0, EN 16931, UBL 2.1, AS4, SMP/SML, DIGG, Sweden CIUS rules (SE-R-005 F-skatt, SE-R-011 Bankgiro/Plusgiro), VAT codes, ViDA mandate (1 July 2030), Dir. 2026:9, Bankgirot e-faktura privat, Kivra, BAS postings, OCR…
erp-mafia/accounted
Skill Claude CodeCodex
Swedish financial reporting: årsredovisning structure (K2/K3 uppställningsform, noter, förvaltningsberättelse, underskrifter), Bolagsverket filing (deadlines, förseningsavgifter, iXBRL, revisionsplikt, tvångslikvidation), INK2 form logic (INK2R/INK2S field mappings, skattemässiga justeringar…
erp-mafia/accounted
Skill Claude CodeCodex
Swedish invoice compliance (fakturering) reference. Covers mandatory invoice fields per ML 17 kap 24§ (2023:200), förenklad faktura, kreditfaktura/ändringsfaktura, självfakturering, Peppol BIS 3.0 e-faktura for B2G/B2B, ROT/RUT-avdrag invoicing with fakturamodellen and BAS accounts (1513, 3740), reverse charge…
erp-mafia/accounted
Skill Claude CodeCodex
Swedish payroll (lön & arbetsgivaravgifter) compliance reference for developers building payroll or accounting software. Covers arbetsgivardeklaration (AGI) filing, sociala avgifter (31.42% breakdown and age reductions), skatteavdrag (tax table lookup, column system, jämkning), förmånsbeskattning (bilförmån…
erp-mafia/accounted
Skill Claude CodeCodex
Swedish project accounting (projektredovisning) covering dimensional tagging of bokföringsposter with project codes, WIP accounting (pågående arbeten), revenue recognition under K2 and K3 (successiv vinstavräkning, färdigställandemetoden), construction contracts (entreprenadavtal), BAS account patterns for project…
erp-mafia/accounted
Skill Claude CodeCodex
Swedish SIE4 file format: parsing, validation, generation, troubleshooting. All record types (#VER, #TRANS, #IB, #UB, #RES, #KONTO, #RAR, #FLAGGA, #KSUMMA, #SRU, etc.), SIE types 1-4, encoding detection (CP437/UTF-8/Latin-1), mojibake diagnosis, verification balance integrity, IB/UB continuity, multi-year migration…
erp-mafia/accounted
Skill Claude CodeCodex
Swedish SRU file generation for Skatteverket digital tax filing (INK2, INK2R, INK2S declarations for aktiebolag). Covers the two-file submission structure (INFO.SRU + BLANKETTER.SRU), all SRU field codes for INK2/INK2R/INK2S, BAS-to-SRU account mappings for räkenskapsschema, ISO 8859-1 encoding rules, amount…
erp-mafia/accounted
Skill Claude CodeCodex
Swedish corporate tax planning (skatteplanering AB) for aktiebolag and fåmansbolag. Covers periodiseringsfond, överavskrivningar, koncernbidrag, 3:12-reglerna (gränsbelopp, löneunderlag, K10, 2026 reform), kapitalförsäkring i bolagskontext, ränteavdragsbegränsningar (EBITDA/N9), lön vs utdelning optimization, and tool…