army-sql-generation

Generate MySQL and PostgreSQL SQL from Army Criteria API examples.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/PillArmy/army --skill army-sql-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: army-sql-generation
Source: https://github.com/PillArmy/army/tree/main/.trae/skills/army-sql-generation
Command: npx skills add https://github.com/PillArmy/army --skill army-sql-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires army-criteria-api, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the generation of SQL code from Army Criteria API statement examples, streamlining the process of creating database dialect SQL for Army documentation.

Core Features & Use Cases

  • SQL Generation: Automatically generate SQL code from Army Criteria API examples.
  • Dialect Support: Supports different database dialects like MySQL and PostgreSQL.
  • Use Case: When you need to add, update, or fix SQL blocks below Java statement examples in the Army documentation, this Skill can help generate the corresponding SQL code.

Quick Start

Use the army-sql-generation skill to generate SQL for the provided Java statement example.

Frequently Asked Questions about army-sql-generation

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

FAQPage Schema
How do I generate SQL from Army Criteria API examples?

To generate SQL from Army Criteria API examples, use a dedicated automation Skill that parses Java statement examples and outputs the corresponding database dialect SQL code automatically.

Does the SQL generation support both MySQL and PostgreSQL dialects?

Yes, the SQL generation supports multiple database dialects including MySQL and PostgreSQL, ensuring the output SQL code matches the specific syntax requirements of your target database platform.

When do I need to generate SQL for Army framework documentation?

You need to generate SQL for Army framework documentation when adding, updating, or fixing SQL blocks below Java statement examples in the Army documentation to ensure code accuracy.

Do I need the Army Criteria API to automate database dialect SQL generation?

Yes, you need the Army Criteria API dependency to automate database dialect SQL generation, as the Skill requires the API and dialect-specific generation logic to parse and translate Java statements.

What is the best way to automate SQL code creation for Army documentation?

The best way to automate SQL code creation for Army documentation is using an automation Skill that processes Army Criteria API statements and directly generates the required dialect-specific SQL blocks.