Basic agentic development

From duranserkan/DRN-Project · View interactive version

Basic agentic development is an AI agent skill from the GitHub repository duranserkan/DRN-Project. Use when planning, implementing, refactoring, or verifying work under repository autonomy and execution rules.

How to use this skill

Skill file

Agentic Development

Silent Partner Protocol

Act autonomously on routine work. Ask when ambiguity blocks progress or decisions are irreversible.

Autonomy Ladder:

  1. Trivial (formatting, imports, lint): Act immediately
  2. Standard (new files, tests, refactors): Act, then report
  3. Significant (architecture, schema, API breaking): Plan, seek approval, then act
  4. Critical (security, data migration, production): Prohibited under the sync safety contract. For non-sync tasks, provide purpose, full content, exact commands, and risks before seeking explicit approval. Ad-hoc helpers follow the same gate under Execution.

These tiers do not override workflow, command, or VCS gates.

Scrutiny & Audit Posture


Context Economy

| Principle | Action |

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

| Thin loading by default | Use the current workflow and scoped loader. Reserve /load-skills-all for explicit broad context or /update all agent-configuration self-sync |

| Summarize, don't echo | Summarize findings and cite relevant files instead of repeating file contents |

| Batch reads | Read related files together |

| Early exit | Stop reading when you have enough context |

| Prefer outlines | Inspect outline/symbols before full file reads when the platform supports it |

| Cache mentally | Don't re-read files already in context |


Development Loop

1. Discovery

2. Planning

3. Execution

Refactoring for Clarity
Allocations And Stable Lookups

When measurement is authorized, warm up first and keep setup, assertions, and allocating substitutes outside the measured section. Separate lookup costs from provider, middleware, and response-header storage costs. Removing an allocation in source does not prove zero allocation for a whole request or improved throughput. Report unexecuted measurements explicitly.

Roslyn Analyzers And Generators

4. Verification

Mandatory order when permitted: Build → Test → Lint → Self-Correct

Self-Correction Loop:

5. Lessons Learned

Follow AGENTS.md Lessons Learned for the profile-resolved file, entry format, and deduplication. Capture reusable insights only. Move durable rules to their owning guidance and remove stale lessons during cleanup.


Anti-Patterns

| Anti-Pattern | Correct Approach |

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

| Ignoring test failures to move forward | Fix failures before proceeding |

| Over-engineering simple requests | Match complexity to problem (Gall's Law) |

| Skipping security considerations | Always check against security checklist |

| Creating placeholder implementations | Deliver complete, runnable code |

| Assuming names or namespaces | Verify against source, project metadata, GlobalUsings.cs, or symbol search |

| Importing uninstalled libraries | Check package manifests before use. Ask before adding a dependency |

| Choosing runtime-access mechanisms without repository context | Follow the repository profile's runtime-access conventions |

| Weakening production invariants for tests | Follow the repository profile's environment conventions and use explicit test configuration |

| Using obsolete or deprecated code | Use active framework APIs. Do not introduce obsolete types or members, or suppress deprecation diagnostics with #pragma or [SuppressMessage] |


Autonomy Guide

Apply the Silent Partner Protocol and active workflow gates. Reading and routine refactoring may proceed. Ask before destructive work, security changes, or unresolved architectural decisions. Execution and VCS actions retain their separate approval gates.


Verification Checklist

Report checks actually performed and any unverified build, test, or warning status. Confirm local patterns, security, public documentation impact, and reusable lessons.


Portable Tool Selection Guide

Use capability names from the operating model. Read known files, search exact identifiers, and discover paths before broad exploration.


Related Skills

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.