You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I've created an OpenClaw skill that helps AI generate code following Hyperf 3.1 framework conventions.
The Problem
When using AI to generate Hyperf code, I noticed it often:
config()calls instead of#[Value]/#[ConfigBean]code: 0ormessageinstead of the standard{ code: 200, msg, data }#[Inject]The Solution
This skill injects Hyperf best practices into every AI response:
#[AutoController], no manual registration#[Inject], nomake()ornew#[Value]/#[ConfigBean], no scatteredconfig(){ code: 200, msg, data }formatHyperf\Context\ContextInstallation
git clone https://github.com/maskxu/hyperf-codestyle.git ~/.qclaw/skills/hyperf-codestyleBeta Was this translation helpful? Give feedback.
All reactions