rtl-p4s-bugfix
/rtl-p4s-bugfix
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.
- Author
- babyworm ↗
- Repository
- rtl-agent-team ↗
- Licence
- MIT
- Last repository change
- 07.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 07.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
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.
Triggers from the description
Original author description
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 it works
- Execution
- Output
SKILL.md preview
---
name: rtl-p4s-bugfix
description: "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."
user-invocable: true
---
<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>
- Fixing RTL bugs found during Phase 4 review
- Fixing functional errors in RTL modules
- Adding or modifying functionality in existing RTL
- Verifying no functional regression after refactoring
- Fixing integration bugs spanning multiple modules
- **Phase 5→4 Feedback Loop**: Automatic fix path invoked when Phase 5 verification FAILs
</Use_When>
<Do_Not_Use_When>
- Coding convention changes only (e.g., port renaming with no functional change) → use rtl-p4s-refactor
- Writing a new module from scratch → use rtl-p4-implement
- Simple lint error fixes (e.g., removing unused signals) → use rtl-lint-check
</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:**
- 312 lines of RTL modified across 5 Waves → only verilator --lint-only executed → 0 TBs, 0 simulations
- Result: declared "complete" with zero functional correctness verification
</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
- Fixed RTL file(s) with lint re-pass confirmation
- Updated or new testbench with passing functional simulation results
- `.rat/scratch/phase-4/bugfix-decision-{N}.md` — decision record documenting root cause, fix rationale, and verification evidence
</Delegation>
Versions
The database has no other skills named rtl-p4s-bugfix.
Database snapshot: 13.11.2026 · package version 8b2beb6ee961 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 3 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90rtl-p4-implement
Phase 4 full RTL implementation from uarch specs with lint, review, and unit tests. Use when user says 'implement RTL', 'write RTL', or 'Phase 4'. - 100phase2-rtl-verify
After design_one_shot_runner emits RTL + SOF + reference TB PASS, AI spot-checks RTL quality and L9-contract conformance. Triggers when /vibe-ic-phase2 / /vibe-ic-phase2 returns PASS, or on phrases like "review the RTL", "check RTL quality", "verify phase 2 output". - 95rtl-design
Use when writing or modifying RTL and its file/constraint annotations, reviewing implementation against requirements, or repairing an implementation defect; not for running synthesis or functional regression as a pipeline stage. - 100rtl-repair
Automatically fix lint violations, synthesis errors, and simulation mismatches in RTL code. Use when the user says "fix this Verilog", "repair the RTL", "resolve these lint errors", "my synthesis is failing", or shares an HDL file with error logs from a lint/synth/sim tool. - 100vivado-rtl-lint
Run Vivado's RTL linter to detect design issues before synthesis. Use when user asks to "lint RTL", "check HDL code", "run linter", "find RTL issues", or "check design quality". This skill ONLY analyzes the report generated by the RTL linter command. - 95rtl-design
SystemVerilog RTL design — module planning, coding standards enforcement, lint checking, CDC/RDC analysis, and synthesis readiness verification. Use when writing, reviewing, or debugging RTL for ASIC or FPGA targets, or when checking an existing RTL package for synthesis readiness.