web-development
Skill1 starsChanged 5 months agoMITView on GitHub
Build web applications with modern frameworks and best practices. Use when developing frontend or full-stack web projects, setting up build tooling, or troubleshooting web app deployment.
- Reads credentials
- Installs packages
4 other projects use a version of this.
Adopted by
Most recently taken up by
- TencentCloudBase/skillstheir own version, first seen Nov 6, 2026
- Mindrally/skillstheir own version, first seen Oct 8, 2026
- prangishviliAbe/agent-skillstheir own version, first seen Sep 26, 2026
- Xin1896/claude-code-skillstheir own version, first seen Mar 10, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- Mindrally/skills★ 275same name
- TencentCloudBase/skills★ 80same name
- prangishviliAbe/agent-skills★ 8same name
- Xin1896/claude-code-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- ci-preflightSkill
- code-reviewSkill
- debugSkill
- docx-processingSkill
- github-publishSkill
- implementSkill
- pdf-processingSkill
- permission-modesSkill
- planSkill
- pptx-processingSkill
- refactorSkill
- security-testingSkill
- specSkill
- testSkill
- xlsx-processingSkill
The file
Files
Web 开发 Skill
在 Termux Android 环境下进行 Web 全栈开发的最佳实践和工具选择。
⚠️ Termux Android 平台限制
| 限制 | 影响 | 替代方案 |
| 无原生 .node 二进制 | vitest、rollup、esbuild、fsevents 不可用 | 用 tsx + Node.js test runner |
playwright 无法运行 | 浏览器 E2E 测试不可用 | 用手动 curl/simple 测试 |
sharp 不可用 | 图片处理库 | 用 jimp 替代 |
puppeteer 不可用 | 无头浏览器 | 用 cheerio 做 HTML 解析 |
| 文件系统性能差 | 大量小文件操作慢 | 避免创建数千个文件 |
| 部分 npm 包可选依赖崩溃 | 安装时忽略可选依赖 | npm install --ignore-scripts --no-optional |
推荐技术栈 (Termux 可用)
前端
npm install @sveltejs/kit svelte # ✅ SvelteKit (纯 JS, 无原生二进制)
npm install solid-js # ✅ SolidJS (无原生依赖)
npm install preact # ✅ Preact (轻量 React 替代)
npm install htmx # ✅ HTMX (后端渲染 + HTML 增强)避免: Next.js (依赖 esbuild)、Vite (某些插件调用 esbuild)
后端
npm install hono # ✅ 轻量 Web 框架 (首选)
npm install express # ✅ Express (可用但较重)
npm install fastify # ✅ Fastify (可用)推荐脚手架
Hono + 纯 TS (SFC/SSR)
npm create hono@latest my-app
# 选 template: nodejs
cd my-app
npm install
npm run devSvelteKit + Vite (Vite 本体可用,但不能用 esbuild 插件的功能)
npm create svelte@latest my-app
cd my-app
npm install --ignore-scripts
npm run dev项目结构规范
project/
├── src/
│ ├── routes/ # Hono routes / SvelteKit routes
│ ├── components/ # UI 组件
│ ├── lib/ # 工具函数
│ ├── types/ # TypeScript 类型定义
│ └── styles/ # CSS/样式
├── static/ # 静态资源
├── tests/ # 测试
├── .github/workflows/ # CI/CD 配置(重要:建项目时自动创建)
├── tsconfig.json # strict: true
└── package.json关键开发步骤
1. 初始化项目
mkdir my-project && cd my-project
npm init -y
# 先配 tsconfig.json(noUnusedLocals: true, strict: true)
# 再装依赖2. 本地开发
# 不使用 Vite 时用 tsx + node
npx tsx src/index.ts3. 构建与部署
# 构建输出纯 JS
npx tsc
node dist/index.js4. CI 配置 (自动创建 .github/workflows/ci.yml)
必须包含:
npm ci(干净的依赖安装)npx tsc --noEmit(类型检查)node --test tests/*.test.ts(测试)- 构建
注意事项
- 📐 项目开始时自动生成 CI 配置 — 防止 push 到 GitHub 才暴露问题
- ⚠️ 不要在项目里用
.env存密钥,用env变量 - 📏 TypeScript 必须
strict: true,禁止any - 🔄 用
node:assert或vitest(如果原生二进制可用)做测试 - 🐳 如需容器化,项目结构应适配 Dockerfile 多阶段构建
- 💡 定期用
npx tsc --noEmit检查类型
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

