@wooksjs/event-http 0.6.1 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist/index.cjs +510 -34
- package/dist/index.d.ts +134 -12
- package/dist/index.mjs +510 -34
- package/package.json +45 -37
- package/scripts/setup-skills.js +70 -0
- package/skills/wooksjs-event-http/SKILL.md +37 -0
- package/skills/wooksjs-event-http/addons.md +307 -0
- package/skills/wooksjs-event-http/core.md +297 -0
- package/skills/wooksjs-event-http/error-handling.md +253 -0
- package/skills/wooksjs-event-http/event-core.md +562 -0
- package/skills/wooksjs-event-http/request.md +220 -0
- package/skills/wooksjs-event-http/response.md +336 -0
- package/skills/wooksjs-event-http/routing.md +412 -0
package/README.md
CHANGED
|
@@ -51,6 +51,30 @@ app.listen(3000, () => {
|
|
|
51
51
|
})
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
+
## AI Agent Skills
|
|
55
|
+
|
|
56
|
+
This package ships with structured skill files for AI coding agents (Claude Code, Cursor, Windsurf, Codex, etc.).
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
# Project-local (recommended — version-locked, commits with your repo)
|
|
60
|
+
npx @wooksjs/event-http setup-skills
|
|
61
|
+
|
|
62
|
+
# Global (available across all your projects)
|
|
63
|
+
npx @wooksjs/event-http setup-skills --global
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
To keep skills automatically up-to-date, add a postinstall script to your `package.json`:
|
|
67
|
+
|
|
68
|
+
```json
|
|
69
|
+
{
|
|
70
|
+
"scripts": {
|
|
71
|
+
"postinstall": "npx @wooksjs/event-http setup-skills --postinstall"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
This ensures the skill files are refreshed whenever dependencies are installed, without needing a separate command.
|
|
77
|
+
|
|
54
78
|
## Documentation
|
|
55
79
|
|
|
56
80
|
To check out docs, visit [wooks.moost.org](https://wooks.moost.org/webapp/).
|