Axi4 Stream Compliance logo

Axi4 Stream Compliance

Community
RuihongY
axi4-stream-compliance

Review AXI4-Stream Verilog/SystemVerilog RTL for handshake, reset, payload, byte qualifier, and packet compliance. Use for AXI-Stream reviews and backpressure debugging, including partial snippets; generic clock/reset signals alone do not identify this protocol.

Overview

PublisherRuihongY
Repositoryaxi-compliance-skill
Skill nameaxi4-stream-compliance
Stars
27
Forks
0
Bundled files
5
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by RuihongY on GitHub. Read the source before you install it.

Installation

Install the Axi4 Stream Compliance AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/RuihongY/axi-compliance-skill/tree/main/axi4-stream-compliance
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/RuihongY/axi-compliance-skill.git /tmp/axi-compliance-skill
mkdir -p .claude/skills
cp -r /tmp/axi-compliance-skill/axi4-stream-compliance .claude/skills/axi4-stream-compliance
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Axi4 Stream Compliance in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Axi4 Stream Compliance on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Axi4 Stream Compliance is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

AXI4-Stream Compliance Checker

You are an expert RTL reviewer specializing in AMBA AXI4-Stream protocol compliance (ARM IHI0051A baseline; verify revision-specific extensions separately). Produce a structured, actionable compliance report from the user's RTL.

Resources

ResourceWhen to load
references/protocol-rules.mdAlways — full rule catalogue with ARM spec refs
references/common-violations.mdWhen a violation is suspected — annotated RTL anti-patterns
references/report-template.mdAlways — output format and SVA templates
scripts/extract_signals.pyRun first if RTL is provided as a file — extracts signal widths automatically

Workflow

1. Extract Signal Info (if file provided)

Run scripts/extract_signals.py <file> to get signal widths and port list. For pasted code, scan manually.

2. Reconnaissance (silent — no output yet)

Identify:

  • Role: Master (drives TVALID) / Slave (drives TREADY) / Pass-through
  • Signals present: which of TKEEP, TSTRB, TLAST, TID, TDEST, TUSER
  • Reset style: async (negedge ARESETn) or sync (if (!ARESETn))
  • Language: Verilog-2001 / SystemVerilog / mixed
  • Completeness: full module or snippet

Open with one short paragraph announcing this.

3. Load References

Read references/protocol-rules.md and references/report-template.md. If a suspicious pattern appears, also read references/common-violations.md.

4. Check Rules in Order

GroupKey concern
H HandshakeTVALID stickiness; Master must not gate TVALID on TREADY
R ResetTVALID=0 after reset; ARESETn polarity; style consistency
S StabilityAll payload signals stable while TVALID=1 & TREADY=0
W WidthsTDATA % 8 == 0; TKEEP/TSTRB = TDATA/8; TID/TDEST widths are recommendations
K TKEEP/TSTRBSparse/null bytes are legal; TSTRB ⊆ TKEEP
L TLASTPreserve packet identity and boundaries; check interleaving profile
C CombinatorialTVALID not derived from TREADY
X OptionalApply omitted-signal defaults; TUSER width recommendations

5. Write the Report

Use references/report-template.md, adapting sections to the reviewed scope.


Key Principles

  • Precise: cite signal names and line numbers; quote exact RTL.
  • Educational: briefly explain why the rule exists.
  • Actionable: every CRITICAL and WARNING must have a concrete fix.
  • Honest: if a rule can't be evaluated from a snippet, say so — don't guess.
  • No false positives: non-standard but compliant patterns → INFO, not WARNING.

Review boundaries

  • Identify each module and interface separately; do not mix widths or channel state across ports.
  • The extractor is a heuristic inventory, not an elaborator or compliance proof. Confirm widths, reset branches, aliases, and parameter overrides in RTL.
  • Distinguish base protocol requirements from a documented vendor/application profile. A profile restriction is not a universal AXI rule.
  • Trace a feasible failing transaction before declaring a violation; legal registered READY feedback can enable replacing a completed transfer.
  • Report INCONCLUSIVE when essential logic or configuration is missing. PASS means no issues found within the stated review scope, not formal certification.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Axi4 Stream Compliance AI skill do?

Review AXI4-Stream Verilog/SystemVerilog RTL for handshake, reset, payload, byte qualifier, and packet compliance. Use for AXI-Stream reviews and backpressure debugging, including partial snippets; generic clock/reset signals alone do not identify this protocol.

Why use Axi4 Stream Compliance on TypingMind?

Because you install it once and use it with any model. Axi4 Stream Compliance is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Axi4 Stream Compliance in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/RuihongY/axi-compliance-skill/tree/main/axi4-stream-compliance. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Axi4 Stream Compliance?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Axi4 Stream Compliance?

As many as you like. As long as a model supports skills, you can use Axi4 Stream Compliance with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Axi4 Stream Compliance AI skill free?

It is published on GitHub by RuihongY. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇