Mandatory iPolloWork code-change gate for modern, minimal, performant, reuse-first implementation and clean repository ownership. Use whenever AI creates, edits, deletes, or refactors application code, server code, packages, scripts, tests, dependencies, schemas, routes, UI, or generated-file workflows. Reuse existing code before creating files, keep one source of truth, prevent parallel implementations and junk directories, justify every new file or dependency, and audit the current change before completion.
72
88%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
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.
AGENTS.md, the owning package manifest, the real entrypoint, and nearby implementations.references/repository-boundaries.md before adding a file, directory, dependency, API, table, or cross-package import.rg.apps/app/src/components/ui, apps/app/src/components, the target domain, apps/server/src, packages/types, and packages/ui as relevant.old, new, v2, fallback, or dead compatibility copies behind.node .codex/skills/ipollowork-maintainable-code/scripts/audit-changes.mjsnew, old, v2, copy, backup, temp, tmp, misc, notes, drafts, handoff, or tdd-summary paths to avoid integrating with the current owner.| Situation | Action |
|---|---|
| Existing API/component/helper meets the need | Import and reuse it |
| Existing implementation differs only by presentation or configuration | Add typed props/options without changing existing defaults |
| Two real call sites need the same non-trivial behavior | Extract to the nearest shared owner |
| Similar-looking code has different domain rules or is unlikely to be reused | Keep it local; do not force an abstraction |
| No compatible implementation exists after searching | Create 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.
any, broad type assertions, duplicated derived state, prop-to-state mirroring, hidden global state, and fallback branches that types or control flow make impossible.apps/app/src/components/ui.apps/app/src/components.apps/app/src/react-app/domains/<domain>.packages/ui only when more than one application genuinely consumes it.packages/types; do not maintain separate client and server copies.apps/server/src/routes; put reusable business behavior in the existing owning service/extension module.apps/server/src/paths.ts, including safe workspace-relative normalization and root containment helpers.path.join or string concatenation.apps/server/src or another source directory.<workspace>/design/<session-id>/... for design/PPT/web sessions and <workspace>/video/<session-id>/... for video sessions.apps/desktop; do not leak shell-specific behavior into app domains.apps/orchestrator; do not create a second orchestration path in the UI or server.iPolloWork and ipollowork; do not introduce alternate product spellings in code, paths, docs, or user-facing text.AGENTS.md.git diff --check, and the maintainability audit pass; any unverified runtime surface is stated explicitly.52934c1
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.