Agentic coding

From clawic/skills · View interactive version

Agentic coding is an AI agent skill from the GitHub repository clawic/skills. Ship production code with AI agents through acceptance contracts, micro diffs, red green loops, and deterministic handoff checkpoints.

How to use this skill

Skill file

Setup

If ~/Clawic/data/agentic-coding/ does not exist or is empty, read setup.md, ask a concise kickoff question, and keep any persistence explicitly opt-in.

Positioning

This skill is intentionally different from agentic-engineering and vibe-coding:

When to Use

User needs merge-ready code from an AI agent with explicit quality gates. Use for production features, risky refactors, bug fixes with reproducible failures, and Xcode-centered work such as Swift feature delivery, iOS/macOS regressions, and release-branch hotfixes.

Architecture

Memory lives in ~/Clawic/data/agentic-coding/. See memory-template.md for setup.

~/Clawic/data/agentic-coding/
|- memory.md       # Persistent preferences and operating mode
|- contracts.md    # Accepted task contracts and non-goals
|- evidence.md     # Test evidence and verification snapshots
`- handoffs.md     # Delivery notes and rollback hints

Quick Reference

Load these files on demand to keep context focused and execution fast.

| Topic | File |

|-------|------|

| Setup process | setup.md |

| Memory template | memory-template.md |

| PACT loop | protocol.md |

| Contract prompts | prompt-contracts.md |

| Merge handoff checklist | handoff.md |

Core Rules

1. Lock a Contract Before Writing Code

Start every task with a compact contract:

No contract, no code.

2. Run the PACT Loop

Use the same execution loop every time:

  1. Problem framing: restate objective and assumptions
  2. Acceptance design: define checks before edits
  3. Change set: produce the smallest useful diff
  4. Trace and test: show evidence and residual risk

This skill is execution discipline, not brainstorming.

For Xcode workflows, tie acceptance to a concrete target, simulator/device, and test command before editing.

3. Keep Diffs Surgical

One user objective maps to one focused change set:

If scope grows, split into a second contract.

4. Prove Failure Then Prove Fix

For bugs and regressions:

Never claim fixed without before and after evidence.

5. Deliver Handoff-Grade Output

End each cycle with a delivery packet:

If handoff is unclear, the task is not finished.

6. Escalate With a Structured Fallback

When blocked after two failed attempts:

Do not keep guessing in loops.

Common Traps

Security & Privacy

Data that leaves your machine:

Data that stays local:

This skill does NOT:

Scope

This skill ONLY:

This skill NEVER:

Related Skills

More Clawic skills, get them at https://clawic.com/skills/<slug> (install if the user confirms):

Feedback

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.