Logo Ipollowork Maintainable Code

Ipollowork Maintainable Code

Cộng đồngPhổ biến
Devin-AXIS
ipollowork-maintainable-code

Cổng kiểm soát bắt buộc cho mọi thay đổi mã trong iPolloWork, nhằm đảm bảo cách triển khai hiện đại, tối giản, hiệu quả, ưu tiên tái sử dụng và quyền sở hữu kho mã rõ ràng. Sử dụng khi AI tạo, chỉnh sửa, xóa hoặc tái cấu trúc mã ứng dụng, mã máy chủ, gói, tập lệnh, bài kiểm thử, phần phụ thuộc, lược đồ, tuyến, giao diện người dùng hoặc quy trình tạo tệp. Ưu tiên tái sử dụng mã hiện có trước khi tạo tệp, duy trì một nguồn dữ liệu chuẩn duy nhất, tránh các bản triển khai song song và thư mục rác, giải trình lý do cho từng tệp hoặc phần phụ thuộc mới, đồng thời rà soát thay đổi hiện tại trước khi hoàn tất.

Add to TypingMind

Tổng quan

Nhà phát hànhDevin-AXIS
Kho mãiPolloWork
Tên kỹ năngipollowork-maintainable-code
Sao
6.9K
Bản fork
1.1K
Tệp đi kèm
3
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Devin-AXIS công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ipollowork Maintainable Code trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Devin-AXIS/iPolloWork/tree/main/.codex/skills/ipollowork-maintainable-code
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Devin-AXIS/iPolloWork.git /tmp/iPolloWork
mkdir -p .claude/skills
cp -r /tmp/iPolloWork/.codex/skills/ipollowork-maintainable-code .claude/skills/ipollowork-maintainable-code
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ipollowork Maintainable Code trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Ipollowork Maintainable Code ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Ipollowork Maintainable Code với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

iPolloWork Maintainable Code

Treat this as the repository's single code-quality Skill. Implement changes with the smallest coherent diff, modern platform patterns, bounded runtime cost, and one clear owner. Search and reuse before creating anything.

Non-Negotiable Outcomes

  • Modern: use the current repository stack and supported platform APIs; do not add legacy wrappers or compatibility layers without a real supported consumer.
  • Minimal: solve the requested job with the fewest concepts, files, dependencies, states, and routes that remain clear.
  • Performant: keep network, database, filesystem, bundle, render, and memory work bounded; optimize measured or structurally obvious hot paths.
  • Reusable: extend compatible components, hooks, services, schemas, types, and utilities before creating parallel versions.
  • Owned: keep one source of truth and place behavior in the narrowest existing owner.
  • Clean: do not create convenience directories, one-off design notes, duplicate implementations, generated source artifacts, or abandoned replacement files.

Required Workflow

  1. Find the repository root. Read AGENTS.md, the owning package manifest, the real entrypoint, and nearby implementations.
  2. Read references/repository-boundaries.md before adding a file, directory, dependency, API, table, or cross-package import.
  3. Define a change budget before editing: intended behavior, owning module, expected files touched, and whether any new file, directory, dependency, route, table, or persistent state is truly required. Default every category to zero.
  4. Search before creating anything:
    • Search component names, visible labels, route names, event names, type names, and distinctive behavior with rg.
    • Search apps/app/src/components/ui, apps/app/src/components, the target domain, apps/server/src, packages/types, and packages/ui as relevant.
    • Inspect exports and call sites, not just filenames.
  5. State the reuse decision: reuse unchanged, extend compatibly, extract for real multiple consumers, or create as the last choice. For each new file or dependency, record why no existing owner can absorb the change.
  6. Implement locally. Remove the replaced path in the same change; do not leave old, new, v2, fallback, or dead compatibility copies behind.
  7. Add focused tests at the owning layer. Do not duplicate server business logic, contracts, state, or validation in the desktop app.
  8. Run the narrow package checks, inspect the complete diff, then run:
powershell
node .codex/skills/ipollowork-maintainable-code/scripts/audit-changes.mjs
  1. Resolve every error. Fix warnings or give a concrete ownership/performance reason for keeping the exception.

Creation Gate

  • Add a file only when it has a distinct owner and responsibility that would make an existing file less coherent. A long file alone is not a reason to split it.
  • Add a directory only for a real subsystem or package with multiple cohesive files and a stable owner. Never create a directory to hold one small feature, one handoff, one report, or one Markdown note.
  • Do not add a new top-level directory without explicit user approval and a repository-level architectural reason.
  • Do not create new, old, v2, copy, backup, temp, tmp, misc, notes, drafts, handoff, or tdd-summary paths to avoid integrating with the current owner.
  • Do not create a design, plan, QA, summary, or TODO Markdown file for each small feature. Update an existing durable document only when future maintainers need information that code, tests, types, or comments cannot express.
  • Add a dependency only when the platform, current dependency graph, and local utilities cannot meet the requirement cleanly. Account for bundle/runtime cost, maintenance, license, and existing transitive capability.
  • Do not create a generic abstraction for one caller. Extract only after two real consumers need meaningful shared behavior or centralization prevents contract/security drift.

Reuse Decision

SituationAction
Existing API/component/helper meets the needImport and reuse it
Existing implementation differs only by presentation or configurationAdd typed props/options without changing existing defaults
Two real call sites need the same non-trivial behaviorExtract to the nearest shared owner
Similar-looking code has different domain rules or is unlikely to be reusedKeep it local; do not force an abstraction
No compatible implementation exists after searchingCreate one in the narrowest correct owner

Do not copy a component and rename it, create *V2, *New, *Copy, or duplicate a helper to avoid understanding its API. Do not add a generic abstraction for a single trivial use.

Modernity And Simplicity

  • Use typed boundaries, functional React, explicit async/error states, semantic controls, and current repository primitives.
  • Avoid any, broad type assertions, duplicated derived state, prop-to-state mirroring, hidden global state, and fallback branches that types or control flow make impossible.
  • Prefer composition and typed options over copied components or mode-heavy forks. Preserve existing defaults when extending shared code.
  • Delete obsolete code, exports, dependencies, flags, tests, and documentation when their supported path is removed.
  • Keep compatibility only for a named active format, client, or migration window. Document the removal condition beside the boundary.

Performance Gate

  • Keep lists and APIs paginated and bounded. Select only needed fields and avoid N+1 queries, request loops, and repeated filesystem scans.
  • Keep React subscriptions narrow. Derive values instead of synchronizing copies, avoid effects for pure computation, and lazy-load genuinely heavy optional surfaces.
  • Do not add caching or memoization without a clear owner, invalidation rule, and demonstrated reuse or cost.
  • Do not move server-owned data or heavy processing into the browser. Keep network and filesystem work out of render paths and short transactions free of network calls.
  • For a hot or high-volume path, record the relevant measurement, query plan, bundle effect, or complexity argument. Do not claim a performance improvement from code shape alone.

Frontend Rules

  • Reuse primitive controls from apps/app/src/components/ui.
  • Put app-wide composed UI in apps/app/src/components.
  • Put feature-specific UI, hooks, state, and behavior in apps/app/src/react-app/domains/<domain>.
  • Move UI to packages/ui only when more than one application genuinely consumes it.
  • Keep domain internals private. Share a stable public API or move truly cross-domain logic to a neutral owner instead of deep-importing another domain.
  • Use server APIs for server-owned behavior. Never reproduce filesystem, persistence, authorization, or orchestration logic in the client.
  • Put cross-process request/response contracts in packages/types; do not maintain separate client and server copies.

Server And Generated Files

  • Add thin HTTP handlers to apps/server/src/routes; put reusable business behavior in the existing owning service/extension module.
  • Reuse path guards from apps/server/src/paths.ts, including safe workspace-relative normalization and root containment helpers.
  • Never construct user-controlled filesystem paths with unchecked path.join or string concatenation.
  • Runtime exports, uploads, captures, renders, audio, images, and generated HTML must not be written under apps/server/src or another source directory.
  • Preserve the current session layout: <workspace>/design/<session-id>/... for design/PPT/web sessions and <workspace>/video/<session-id>/... for video sessions.
  • Put artifact kinds such as assets, renders, audio, captures, and exports below the owning session directory when appropriate.
  • Centralize directory creation and path resolution in one owning service. Routes and UI should pass identifiers, not invent disk paths.

Platform And Repository Safety

  • Keep Electron lifecycle and native integration in apps/desktop; do not leak shell-specific behavior into app domains.
  • Keep headless runtime orchestration in apps/orchestrator; do not create a second orchestration path in the UI or server.
  • Keep OpenCode external. Use its supported API, SDK, CLI, plugin, and configuration surfaces; do not fork or silently modify its internals.
  • Keep names consistently iPolloWork and ipollowork; do not introduce alternate product spellings in code, paths, docs, or user-facing text.
  • Do not commit secrets, credentials, local caches, build output, generated runtime artifacts, or commercial-only code.

Verification By Risk

  • TypeScript or UI: run the owning package typecheck and focused tests.
  • Server or plugin: run focused unit tests and the relevant package test.
  • Build or runtime boundary: build the affected package and start the real development entrypoint.
  • Observable UI: verify the actual browser/Electron flow using the repository experience-proof rules in AGENTS.md.
  • Dependency or OpenCode change: record old/new versions and verify startup, configuration, and the affected loading path.
  • Database or high-volume query: verify migrations, constraints, rollback/rejection behavior, bounded results, and the relevant query plan when representative data exists.

Completion Standard

  • No existing reusable implementation was missed.
  • No unjustified file, directory, dependency, route, table, state store, or abstraction was added.
  • No client/server contract was duplicated.
  • No runtime artifact was added to a source tree.
  • New files have one clear owner and do not create a parallel architecture.
  • Runtime work is bounded and no obvious N+1, request loop, broad subscription, or heavy eager import was introduced.
  • Existing behavior remains the default when extending shared code.
  • Replaced code and stale documentation were removed instead of retained as alternate versions.
  • Focused tests, package checks, git diff --check, and the maintainability audit pass; any unverified runtime surface is stated explicitly.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Ipollowork Maintainable Code làm được gì?

Cổng kiểm soát bắt buộc cho mọi thay đổi mã trong iPolloWork, nhằm đảm bảo cách triển khai hiện đại, tối giản, hiệu quả, ưu tiên tái sử dụng và quyền sở hữu kho mã rõ ràng. Sử dụng khi AI tạo, chỉnh sửa, xóa hoặc tái cấu trúc mã ứng dụng, mã máy chủ, gói, tập lệnh, bài kiểm thử, phần phụ thuộc, lược đồ, tuyến, giao diện người dùng hoặc quy trình tạo tệp. Ưu tiên tái sử dụng mã hiện có trước khi tạo tệp, duy trì một nguồn dữ liệu chuẩn duy nhất, tránh các bản triển khai song song và thư mục rác, giải trình lý do cho từng tệp hoặc phần phụ thuộc mới, đồng thời rà soát thay đổi hiện tại trước...

Vì sao nên dùng Ipollowork Maintainable Code trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ipollowork Maintainable Code là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ipollowork Maintainable Code trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Devin-AXIS/iPolloWork/tree/main/.codex/skills/ipollowork-maintainable-code. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ipollowork Maintainable Code?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Ipollowork Maintainable Code với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ipollowork Maintainable Code với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ipollowork Maintainable Code có miễn phí không?

Kỹ năng này được Devin-AXIS phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇