Autonomous coding workflow

From Bottelet/DaybydayCRM · View interactive version

Autonomous coding workflow is an AI agent skill from the GitHub repository Bottelet/DaybydayCRM. Governs safe, incremental, repository-wide development workflow with continuous validation gates

How to use this skill

Skill file

Autonomous Coding Workflow

Goal

Perform repository-wide modifications safely, incrementally, and with continuous validation.


1. Instruction Precedence

Before doing anything:

If they exist:


2. Preparation

Before modifying code:

  1. Read existing implementation.
  2. Understand current behavior.
  3. Identify existing abstractions and reuse them:
  1. Search explicitly for duplication before introducing new abstractions.
  2. Preserve existing architectural patterns.

Do not modify code that has not been understood.


3. Refactoring Heuristics

Apply only when relevant:


4. Incremental Development

Work in small, verifiable steps.

After each change:

  1. Verify syntax:

```bash

php -l

```

  1. Run targeted tests.
  2. Fix failures immediately.
  3. Run code style checks:

```bash

vendor/bin/pint --dirty --format agent

```

  1. Continue only if repository is clean.

5. Validation Gates

Never proceed if any of the following fail:

Before completion, additionally ensure:


6. Module Completion

After completing a module:

  1. Run targeted test suite.
  2. Run php -l.
  3. Run Pint.
  4. Confirm no unintended changes.
  5. Commit with clear module description.

Do not start the next module until the current one is fully stable.


7. Uncertainty Handling

If behavior is unclear:


8. Success Criteria

The task is complete only when:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.