跳到正文
cccskills
免费在 GitHub 公开

mimo-workflow

Optimized workflows for OpenCode IDE with MiMo v2.5 free model

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

MiMo v2.5 Workflow Skill

Optimized workflows specifically designed for OpenCode IDE using the free MiMo v2.5 model.

When to use this skill

  • Working with OpenCode IDE on this portfolio
  • Using MiMo v2.5 free model for code generation
  • Need efficient task completion with constrained context
  • Want to maximize AI capabilities within token limits

MiMo v2.5 strengths and limits

  • Strengths: TypeScript, React, Next.js code generation; code review; systematic debugging; test generation
  • Limits: 128K context window; may truncate large files; prefer focused, single-file tasks over multi-file orchestrations

Optimized prompt patterns

1. Component generation (single file)

Create [ComponentName] in src/components/ui/:
- TypeScript interfaces for props
- Tailwind CSS styling (dark mode default)
- Framer Motion animations (whileInView)
- ARIA accessibility
- Export as default

2. API route (single file)

Create Next.js API route at src/app/api/[path]/route.ts:
- Zod validation for request body
- Proper error responses (400, 429, 500)
- Rate limiting via in-memory Map
- TypeScript types for response

3. Test generation

Write Vitest + RTL tests for [ComponentName]:
- Test all visible states (loading, error, empty, populated)
- Test user interactions (click, submit, keyboard)
- Use SWRConfig with provider: () => new Map() for SWR isolation
- Mock fetch for API calls

4. Bug fix

Debug [error] in [file:line]:
1. Read the file and surrounding context
2. Identify root cause
3. Apply minimal fix
4. Run npm run test -- --run to verify
5. Run npx tsc --noEmit to verify types

5. Code review

Review [file] for:
- TypeScript strict mode compliance
- React best practices (keys, hooks rules, derived state)
- Accessibility (ARIA, keyboard, focus management)
- Performance (unnecessary re-renders, missing memoization)
- Security (XSS, secrets, CSP)

Workflow templates

Feature development

  1. Plan → 2. Scaffold (one component at a time) → 3. Implement → 4. Test → 5. Commit

Bug fix

  1. Reproduce → 2. Read error + context → 3. Fix → 4. Test → 5. Commit

Refactoring

  1. Identify target → 2. Small incremental changes → 3. Test after each → 4. Commit

Best practices

  • One file per task (MiMo works best with focused context)
  • Include file path in the prompt
  • Specify exact conventions (Tailwind, Framer Motion, SWR)
  • Verify output with npm run test -- --run and npx tsc --noEmit
  • Commit after each verified change

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Audit and fix accessibility issues across the portfolio to ensure WCAG 2.1 AA compliance.

中文简介正在准备中。当前显示原文说明。

PP-Namias/Portfolio22026年10月16日 更新

Creates a new blog post document in the Sanity studio. Use when the user wants to write a blog post, publish an article, or schedule a future post.

中文简介正在准备中。当前显示原文说明。

PP-Namias/Portfolio22026年10月16日 更新

Creates a new certification document in the Sanity studio. Use when the user wants to add a credential, certificate, or professional accreditation to the Certifications collection.

中文简介正在准备中。当前显示原文说明。

PP-Namias/Portfolio22026年10月16日 更新

Adds a new skill MD file to the studio's skills collection. Use when the user wants to author a new step-by-step recipe for the studio's in-app Skills tool or the .agents mirror.

中文简介正在准备中。当前显示原文说明。

PP-Namias/Portfolio22026年10月16日 更新

Creates a new project document in the Sanity studio. Use when the user wants to add a new portfolio project, a case study, or a work sample to the Projects collection.

中文简介正在准备中。当前显示原文说明。

PP-Namias/Portfolio22026年10月16日 更新

Creates a new experience document in the Sanity studio. Use when the user wants to add a job, role, internship, or work history entry to the Experience collection.

中文简介正在准备中。当前显示原文说明。

PP-Namias/Portfolio22026年10月16日 更新

查看 PP-Namias 的全部技能

报告此技能的问题