Skip to content

coding-with-rules ​

Language-aware coding: resolve the base workflow, then select rules for the languages and file extensions being changed.

Group: Coding · Availability: Authored here · Scope: project

When to choose it ​

Code or toolchain work needs the base coding workflow plus rules for its actual languages and extensions.

Expected result: The coding workflow with the relevant language references loaded in their declared order.

Install this skill ​

You need Node.js 22.20 or newer, Git, and npm/npx. Run this command from the target project after reviewing its instructions and the skill source.

sh
npx -y skills@1.7.4 add https://github.com/dragoscirjan/ai/tree/main/.agents/skills/coding/coding-with-rules --skill coding-with-rules

This command selects only coding-with-rules. It does not install the rest of the collection or the optional companions listed on this page.

Required instruction packages: coding. If any are missing, the agent must stop and ask you to install them before continuing. The command above does not install these requirements.

Before applying a skill, the agent must verify that it and its declared requirements are installed. Missing instructions stop the task. The agent must ask you to install them rather than fetch, synchronize, substitute, or continue automatically.

See installation choices for prerequisites and direct install examples.

Try it ​

Load the installed skill in your harness, then adapt this request to your project. This is a prompt, not a shell command.

text
Use coding-with-rules for this change. Identify affected languages from runtime and file evidence, resolve coding first, and load only the applicable references.

Requirements and boundaries ​

Catalogued instruction requirements: coding

Resolve required instructions in their declared order before applying the skill. The project-specific requires extension is not a native harness installation guarantee. A missing requirement stops the affected phase; it does not authorize a download.

Runtime and setup:

No additional runtime is recorded in the catalog. Check the authoritative instructions and target project before use.

Missing or conflicting required references block the affected phase. Do not recreate removed language skills or load every language merely because it exists somewhere in the repository.

Useful combinations ​

  • tdd — You explicitly want test-first feature or bug work, or integration-test slices through public behavior.
  • systematic-debugging — A bug, regression, failing test, flaky result, or unexpected behavior needs a root cause rather than a guessed patch.
  • debloat — A design risks unnecessary machinery or existing code and configuration have complexity that no longer earns its cost.

These are optional companions, not extra declared requirements. Choose only what the task needs.

For focused procedures and utilities, see supporting tools.

Source and harness support ​

The catalog records this entry as optional, not as automatically selected for every project.

Read the authoritative skill instructions. This link follows the source repository's configured catalog ref; the maintained local copy is the documented entry.

Supported catalog harnesses: pi, opencode, claude-code. Runtime availability and actual discovery must still be checked in your chosen harness.