agentleFS
thanvish21thanvish21/hcc-bundle/agentic-engineering/SKILL.md

agentic-engineering

Skill0 starsChanged 4 months agoMITView on GitHub

Core agentic software engineering patterns for Hermes Agent — autonomous development, multi-agent coordination, test-driven loops, and self-improving workflows.

32 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use aegis-gateway, deploy-vercel-render and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • vpeetla-aiSkill

    aegis-gateway

    Integrate AegisAI gateway before tool side effects (notify, publish, deploy). Use when adding Slack/Telegram/WhatsApp notify, content publish, or any irreversible external action in VAP, AegisLoop, or ai-content-factory.

    Also in 6 projects that use this

  • vpeetla-aiSkill

    deploy-vercel-render

    Deploy vpeetla-ai demos: Vercel static/Next.js frontends, Render FastAPI backends, env vars, free tier gotchas. Use when shipping demos, fixing deploy failures, or adding render.yaml / vercel.json.

    Also in 6 projects that use this

  • loulanyueSkill

    nuxt4-patterns

    Nuxt 4 app patterns for hydration safety, performance, route rules, lazy loading, and SSR-safe data fetching with useFetch and useAsyncData.

    Also in 10 projects that use this

  • RojiosSkill

    dart-flutter-patterns

    Production-ready Dart and Flutter patterns covering null safety, immutable state, async composition, widget architecture, popular state management frameworks (BLoC, Riverpod, Provider), GoRouter navigation, Dio networking, Freezed code generation, and clean architecture.

    Also in 7 projects that use this

  • TironFoxSkill

    agent-payment-x402

    Add x402 payment execution to AI agents — per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents need to pay for APIs, services, or other agents.

    Also in 6 projects that use this

  • +7 more from vpeetla-ai

The file

Files
SKILL.md

Agentic Engineering for Hermes

Core patterns for autonomous software engineering with Hermes Agent.

Philosophy

Agentic engineering means the agent drives the development loop:

  1. Understand → Read code, specs, requirements
  2. Plan → Break into tasks, create tickets
  3. Execute → Write code, run tests, iterate
  4. Verify → Test, lint, security scan, review
  5. Learn → Save patterns as skills, update memory

Core Loops

1. TDD Loop (Red-Green-Refactor)

/hermes
> Goal: Implement user authentication with JWT

## Phase 1: Red - Write failing test
Write test for JWT token generation with expiry

## Phase 2: Green - Make it pass
Implement minimal JWT service

## Phase 3: Refactor - Improve design
Extract token config, add refresh logic, add tests

## Phase 4: Verify
Run full test suite, lint, security scan

2. Autonomous Feature Loop

delegate_task(
    goal="Build complete user authentication feature",
    context="
    Requirements:
    - User registration with email/password
    - JWT access + refresh tokens
    - Password reset flow
    - Rate limiting on auth endpoints
    - Tests: unit + integration
    
    Stack: FastAPI, PostgreSQL, Redis
    Existing: User model, database config
    "
)

3. Self-Improvement Loop

# After each task completion:
1. Save successful patterns as skills
2. Update project CLAUDE.md / .hermes.md
3. Record lessons in memory
4. Add test cases for regressions

Multi-Agent Coordination

Role Definitions

AgentResponsibilityTools
ArchitectDesign, ADRs, API contractsfile, web, code_execution
BackendAPI, DB, business logicterminal, file, code_execution
FrontendUI, state, integrationterminal, file, browser
QATests, security, performanceterminal, code_execution, web
DevOpsCI/CD, infra, monitoringterminal, file, cronjob

Coordination Protocol

# Shared context file: .hermes/coordination.md

## Active Tasks
- [ ] Architect: Design auth API (in progress)
- [ ] Backend: Implement user model (blocked)
- [ ] Frontend: Design login UI (waiting)

## Decisions
- JWT over sessions (stateless)
- PostgreSQL for users, Redis for tokens
- bcrypt for password hashing

## Blockers
- Need DB migration reviewed

Handoff Pattern

# Agent A completes task, creates handoff
handoff = {
    "completed": "User model + migration",
    "files_changed": ["models/user.py", "migrations/001_user.py"],
    "tests": "tests/test_user_model.py (12 passing)",
    "next_steps": [
        "Implement JWT service",
        "Add auth middleware",
        "Create login endpoint"
    ],
    "context_for_next": "Use existing db session pattern in database.py"
}

# Agent B reads handoff, continues

Skill-Driven Development

When to Create a Skill

  • Pattern used 3+ times
  • Complex multi-step workflow
  • Domain-specific knowledge
  • Reusable across projects

Skill Template

---
name: my-pattern
description: "Reusable pattern for X"
---

# Pattern: X

## When to Use
- Condition A
- Condition B

## Steps
1. Step one
2. Step two

## Example
\`\`\`bash
hermes -s my-pattern "task description"
\`\`\`

## Gotchas
- Gotcha 1
- Gotcha 2

Project Structure for Agentic Projects

my-project/
├── .hermes/                 # Hermes config & skills
│   ├── config.yaml
│   ├── skills/              # Project-specific skills
│   ├── coordination.md      # Multi-agent state
│   └── memory/              # Persistent memory
├── specs/                   # Feature specs (markdown)
│   ├── 001-auth-api.md
│   └── 002-user-profile.md
├── src/
│   ├── domain/              # Pure business logic
│   ├── application/         # Use cases, services
│   ├── infrastructure/      # DB, external APIs
│   └── presentation/        # API, CLI, UI
├── tests/
│   ├── unit/
│   ├── integration/
│   └── contract/            # API contract tests
├── skills/                  # Shared skills (git submodule?)
├── CLAUDE.md                # Project instructions
├── Makefile                 # Common commands
└── pyproject.toml

Quality Gates (Automated)

# .github/workflows/quality.yml
name: Quality Gates
on: [push, pull_request]
jobs:
  quality:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Run tests
        run: pytest --cov=src --cov-fail-under=80
      - name: Lint
        run: ruff check src tests
      - name: Type check
        run: mypy src
      - name: Security scan
        run: bandit -r src
      - name: Dependency check
        run: pip-audit

Metrics to Track

MetricTargetTool
Test coverage>80%pytest-cov
Type coverage>90%mypy
Security issues0 highbandit, pip-audit
Cycle time<30 minHermes insights
Skill reuse rate>50%Curator stats

Anti-Patterns to Avoid

Anti-PatternBetter Approach
One giant promptDelegate subtasks
No verificationAlways test after changes
Hardcoded configUse config files + env vars
Skipping skillsCreate skill after 2nd use
No memoryUse memory tool for context

Quick Commands

# Start feature with TDD
hermes -s tdd "Add password reset endpoint"

# Multi-agent feature
hermes -w -s agentic-engineering "Build payment integration"

# Refactor with safety
hermes -s refactor "Extract service layer from controllers"

# Security audit
hermes -s security-review "Audit auth module"

Skill Composition

  • tdd — Test-driven development enforcement
  • autonomous-loops — Self-running agent loops
  • continuous-agent-loop — CI-integrated agents
  • git-workflow — Branch/commit/release automation
  • deployment-patterns — Deploy what you build
  • security-review — Built-in security gates

Adapted from ECC agentic-engineering for Hermes Agent. Original: affaan-m/ECC

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.