army-example-code

Verify Java example code accuracy for the Army Criteria API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures the accuracy of example code written for the Army Criteria API by enforcing strict adherence to source code verification and API usage guidelines.

Core Features & Use Cases

  • Source Code Verification: Requires reading and referencing the source code for each API used in the example code.
  • API Usage Guidelines: Enforces the correct usage of Army Criteria API functions, including method references and literal values.
  • Use Case: When writing or reviewing Java example code blocks for the Army Criteria API, this Skill ensures that the code is accurate and follows best practices.

Quick Start

Use the army-example-code skill to verify the example code for the Army Criteria API in the 'asciidoc/index.adoc' document.

Frequently Asked Questions about army-example-code

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

FAQPage Schema
How do I verify Java example code for the Army Criteria API?

Verifying Java example code for the Army Criteria API requires strict source code verification and adherence to API usage guidelines to ensure accuracy. The Skill checks example code blocks by enforcing correct method references and literal values against the actual API source code.

What is source code verification for Java API examples?

Source code verification is the process of reading and referencing the actual source code for each API used in your Java examples. It ensures that method references and literal values in the example code match the real Army Criteria API implementation.

How do I enforce API usage guidelines in Java example code blocks?

To enforce API usage guidelines in Java example code blocks, you must cross-reference method references and literal values with the Army Criteria API source code. This verification enforces correct function usage and ensures the examples follow established best practices.

Do I need to know the Army Criteria API source code to use this verification?

Yes, knowledge of the Army Criteria API source code and its usage conventions is required. This prerequisite ensures you can accurately verify Java example code blocks and enforce strict API usage guidelines during writing or review.

What's the best way to review Java example code for Army Criteria API accuracy?

The best way to review Java example code for Army Criteria API accuracy is by applying strict source code verification to validate method references and literal values. This enforces API usage guidelines and ensures the code blocks follow established conventions.

Why does my Java example code fail Army Criteria API usage conventions?

Java example code fails Army Criteria API usage conventions when method references and literal values do not match the actual API source code. Strict source code verification identifies these discrepancies to enforce correct API usage guidelines.