implement-feature
Implementa feature nel sistema di fatturazione italiana validando contro normativa fiscale. Usa per aggiungere calcoli IVA, ritenuta d'acconto, split payment, imposta di bollo, gestione fatture PA, regime forfettario, numerazione progressiva, note di credito, o qualsiasi logica che deve rispettare DPR 633/72, DPR 600/73, DPR 642/72. NON usare per bug fix tecnici, refactoring, o modifiche UI senza impatto fiscale.
Best use case
implement-feature is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Implementa feature nel sistema di fatturazione italiana validando contro normativa fiscale. Usa per aggiungere calcoli IVA, ritenuta d'acconto, split payment, imposta di bollo, gestione fatture PA, regime forfettario, numerazione progressiva, note di credito, o qualsiasi logica che deve rispettare DPR 633/72, DPR 600/73, DPR 642/72. NON usare per bug fix tecnici, refactoring, o modifiche UI senza impatto fiscale.
Teams using implement-feature should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/implement-feature/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How implement-feature Compares
| Feature / Agent | implement-feature | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Implementa feature nel sistema di fatturazione italiana validando contro normativa fiscale. Usa per aggiungere calcoli IVA, ritenuta d'acconto, split payment, imposta di bollo, gestione fatture PA, regime forfettario, numerazione progressiva, note di credito, o qualsiasi logica che deve rispettare DPR 633/72, DPR 600/73, DPR 642/72. NON usare per bug fix tecnici, refactoring, o modifiche UI senza impatto fiscale.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Skill: Implementazione Feature con Validazione di Dominio Sei un assistente specializzato nell'implementazione di feature per un sistema di fatturazione elettronica italiana. Ogni feature che implementi DEVE essere conforme alla normativa fiscale italiana. ## Istruzioni Quando l'utente chiede di implementare una feature, segui SEMPRE questo flusso: ### Fase 1: Analisi dei Requisiti di Dominio 1. **Leggi il documento di dominio** in `references/fiscal-rules.md` per intero. Il path è relativo al folder della skill. 2. **Identifica le sezioni rilevanti** per la feature richiesta 3. **Estrai le regole fiscali** che vincolano l'implementazione 4. **Verifica i bug/gap noti** nella sezione 14 del documento — se la feature tocca un'area con bug critici o lacune documentate, segnalalo subito ### Fase 2: Analisi del Codice Esistente 1. **Leggi i file di dominio coinvolti** in `src/Fatturazione.Domain/` 2. **Leggi gli endpoint coinvolti** in `src/Fatturazione.Api/Endpoints/` 3. **Leggi i test esistenti** in `tests/` per capire cosa è già coperto 4. **Identifica conflitti** tra codice esistente e regole fiscali ### Fase 3: Piano di Implementazione Presenta all'utente un piano strutturato che includa: **Regole fiscali applicabili:** - Elenca ogni regola normativa che vincola questa feature - Cita il riferimento normativo (es. "Art. 21 DPR 633/72") - Spiega come la regola impatta l'implementazione **Modifiche proposte:** - Quali file vanno modificati e perché - Quali nuovi file servono (se necessario) - Quali test vanno scritti **Rischi di non-conformità:** - Cosa potrebbe andare storto dal punto di vista fiscale - Quali validazioni servono per prevenire dati non conformi Usa `EnterPlanMode` per presentare il piano e ottenere approvazione. ### Fase 4: Implementazione Dopo l'approvazione: 1. **Implementa seguendo le regole fiscali** — non prendere scorciatoie che violano la normativa 2. **Scrivi test** che verifichino la conformità fiscale, non solo la correttezza tecnica. Ad esempio: - La ritenuta si calcola sull'imponibile (NON sul subtotale con IVA) - Lo split payment non si applica insieme alla ritenuta - Le fatture emesse non sono modificabili - La numerazione è progressiva e univoca 3. **Esegui tutti i test** con `dotnet test` prima di dichiarare completata la feature ## Regole di Conformità da Applicare Sempre Quando implementi qualsiasi feature, tieni a mente queste regole cardinali: ### Calcoli - La ritenuta d'acconto si calcola SEMPRE su `ImponibileTotal`, MAI su `SubTotal` - L'IVA si arrotonda al centesimo di euro (`Math.Round(..., 2)`) - Split payment e ritenuta sono mutuamente esclusivi - Per il regime forfettario: niente IVA, niente ritenuta ### Modello Dati - Una fattura emessa (stato != Draft) NON può essere modificata nei dati sostanziali - Il numero fattura deve essere univoco e progressivo - Per clienti PA servono: Codice Univoco Ufficio, CIG, CUP - La Partita IVA ha 11 cifre e si valida con l'algoritmo di checksum ### Transizioni di Stato - Draft → Issued (assegna numero) o Cancelled - Issued → Sent o Cancelled - Sent → Paid, Overdue o Cancelled - Overdue → Paid o Cancelled - Paid e Cancelled sono stati finali - L'annullamento di una fattura emessa richiede una nota di credito ### Test - Ogni formula di calcolo deve avere test con numeri reali verificabili a mano - Ogni transizione di stato deve avere test positivi e negativi - Le validazioni devono essere testate con valori limite ## Formato di Output Quando presenti il piano, usa questo formato: ``` ## Feature: [Nome della feature] ### Regole Fiscali Applicabili - [Regola 1] (Rif: Art. X DPR Y) - [Regola 2] (Rif: Art. X DPR Y) ### Bug/Gap Esistenti Coinvolti - [Bug #N dal documento di dominio, se rilevante] ### Piano di Modifiche 1. [File] — [Cosa cambia e perché] 2. [File] — [Cosa cambia e perché] ### Test da Scrivere 1. [Test] — Verifica che [regola fiscale] 2. [Test] — Verifica che [regola fiscale] ### Rischi - [Rischio di non-conformità e come lo preveniamo] ``` ## Risorse Aggiuntive - **Esempi concreti:** Consulta `references/examples.md` per scenari comuni - **Regole fiscali complete:** Tutto in `references/fiscal-rules.md`
Related Skills
implementing-android-code
This skill should be used when implementing Android code in Bitwarden. Covers critical patterns, gotchas, and anti-patterns unique to this codebase. Triggered by "How do I implement a ViewModel?", "Create a new screen", "Add navigation", "Write a repository", "BaseViewModel pattern", "State-Action-Event", "type-safe navigation", "@Serializable route", "SavedStateHandle persistence", "process death recovery", "handleAction", "sendAction", "Hilt module", "Repository pattern", "implementing a screen", "adding a data source", "handling navigation", "encrypted storage", "security patterns", "Clock injection", "DataState", or any questions about implementing features, screens, ViewModels, data sources, or navigation in the Bitwarden Android app.
feature
Creates a new feature module with minimal viable structure. Use when bootstrapping a new feature from scratch, scaffolding the Tuist module, Container, Feature entry point, DeepLinkHandler, and initial screen with placeholder Text view. Includes all unit tests, mocks, stubs, and app integration. For adding domain/data layers afterward, use /datasource, /repository, /usecase. For enhancing views, use /view, /viewmodel, /navigator.
cqrs-implementation
Implement Command Query Responsibility Segregation for scalable architectures. Use when separating read and write models, optimizing query performance, or building event-sourced systems.
agent-ops-implementation
Implement only after a validated/approved plan. Use for coding: small diffs, frequent tests, no refactors, stop on ambiguity.
linear-iterate-on-implementation
Iteratively refine a feature implementation by identifying and fixing bugs, edge cases, and improvements
Data Engineering Data Driven Feature
World-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics. Expertise in Python (NumPy, Pandas, Scikit-learn), R, SQL, statistical methods, A/B testing, time series, and business intelligence. Includes experiment design, feature engineering, model evaluation, and stakeholder communication.
slo-implementation
Define and implement Service Level Indicators (SLIs) and Service Level Objectives (SLOs) with error budgets and alerting. Use when establishing reliability targets, implementing SRE practices, or m...
service-mesh-implementation
Implement service mesh (Istio, Linkerd) for service-to-service communication, traffic management, security, and observability.
Product Analytics Implementation
Product Analytics Implementation enables systematic tracking, measurement, and analysis of product usage data to drive data-driven product decisions. This capability is essential for understanding use
implementing-rapid7-insightvm-for-scanning
Deploy and configure Rapid7 InsightVM Security Console and Scan Engines for authenticated and unauthenticated vulnerability scanning across enterprise environments.
implementing-navigation
Implements navigation patterns and routing for both frontend (React/TS) and backend (Python) including menus, tabs, breadcrumbs, client-side routing, and server-side route configuration. Use when building navigation systems or setting up routing.
implementing-api-patterns
API design and implementation across REST, GraphQL, gRPC, and tRPC patterns. Use when building backend services, public APIs, or service-to-service communication. Covers REST frameworks (FastAPI, Axum, Gin, Hono), GraphQL libraries (Strawberry, async-graphql, gqlgen, Pothos), gRPC (Tonic, Connect-Go), tRPC for TypeScript, pagination strategies (cursor-based, offset-based), rate limiting, caching, versioning, and OpenAPI documentation generation. Includes frontend integration patterns for forms, tables, dashboards, and ai-chat skills.