ini-pos-database

Enforce SQL Server 2005 schema and syntax rules for INI_Restaurant queries.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/novatech2210-cmd/ImidusApp --skill ini-pos-database
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ini-pos-database
Source: https://github.com/novatech2210-cmd/ImidusApp/tree/main/.gemini/agents/ini-pos-database
Command: npx skills add https://github.com/novatech2210-cmd/ImidusApp --skill ini-pos-database

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Activate when writing any SQL queries, Dapper repository methods, or entity mappings that touch the INI_Restaurant (TPPro) database. Provides authoritative column names, schema constraints, SQL Server 2005 compatibility rules, and mandatory patterns for this legacy POS system.

Core Features & Use Cases

  • Enforces authoritative column naming and schema constraints for INI_Restaurant (TPPro).
  • Guides compatibility with SQL Server 2005, including allowed patterns and prohibited features.
  • Supports safe patterns for Dapper/ADO.NET code touching this DB to prevent data corruption.

Quick Start

Review and apply the INI_POS Database guidelines to any code touching the INI_Restaurant TPPro database.

Frequently Asked Questions about ini-pos-database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write SQL queries for a legacy SQL Server 2005 POS database without syntax errors?

To write SQL for a legacy SQL Server 2005 POS database, you must enforce strict schema constraints and avoid unsupported features like MERGE, OFFSET, FETCH, and JSON. Adhering to documented patterns ensures query compatibility and prevents syntax violations.

What SQL Server 2005 features are prohibited when querying the INI_Restaurant database?

Prohibited SQL Server 2005 features when querying the INI_Restaurant database include MERGE, OFFSET, FETCH, and JSON functions. Avoiding these ensures compatibility and maintains schema stability during data operations on this legacy system.

Can I use Dapper with a legacy SQL Server 2005 POS system?

Yes, you can use Dapper with a legacy SQL Server 2005 POS system by following safe ADO.NET repository patterns. This requires strict adherence to authoritative column names and specific insert patterns like OUTPUT to prevent data corruption.

How do I safely insert records into the INI_Restaurant TPPro database?

To safely insert records into the INI_Restaurant TPPro database, use the OUTPUT clause for inserts. This enforces transactional writes and maintains schema stability within the legacy SQL Server 2005 environment.

What window functions work in SQL Server 2005 for POS transaction queries?

SQL Server 2005 supports specific allowed window functions for querying POS transactions. Enforcing these documented compatibility rules ensures your queries execute successfully without violating legacy database constraints.

Why do my Dapper entity mappings fail against the INI POS database schema?

Dapper entity mappings fail against the INI POS database schema when they do not strictly match authoritative column names. Enforcing documented schema constraints during mapping prevents violations and data corruption.