Rtl p4s bugfix

From babyworm/rtl-agent-team · View interactive version

Rtl p4s bugfix is an AI agent skill from the GitHub repository babyworm/rtl-agent-team. P4 RTL bug fix enforcing full cycle through TB update and functional simulation; lint-only is never complete. Use for 'fix RTL bug' or Phase 5-to-4 feedback.

How to use this skill

Skill file

<Purpose>

A workflow skill that enforces the design-to-verification flow when fixing RTL bugs.

A fix is only considered complete after TB generation and functional simulation pass — not just lint.

Core principle: lint is only a syntax check, not evidence of functional correctness.

This skill integrates with the PostToolUse:Edit hook tracking system.

Modified .sv files are automatically tracked, and session termination is blocked without functional verification.

</Purpose>

<Use_When>

</Use_When>

<Do_Not_Use_When>

</Do_Not_Use_When>

<Why_This_Exists>

Born from a previous session where 9 RTL bugs were fixed with only lint runs, skipping TB/simulation entirely.

Passing lint is merely "compilation success" — simulation is required to prove the fix is functionally correct.

Anti-pattern example:

</Why_This_Exists>

<Delegation>

The orchestrator handles analysis, fix+lint, TB creation/update, functional verification,

Phase 5→4 feedback return, parallel UNIT_FIX across modules, and lesson-learned recording.

All policies, checklists, escalation rules, and parallel fix decision logic are defined

in the rtl-p4s-bugfix-policy skill (loaded via the orchestrator's skills: field).

Execution

Task(subagent_type="rtl-agent-team:p4s-bugfix-orchestrator",

prompt="Execute RTL bug fix cycle. Bug description: $ARGUMENTS")

Do not perform any work directly.

The orchestrator agent manages the full analyze → fix → lint → TB → simulation cycle.

Output

</Delegation>

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.