AGENT SKILL

minimalist-engineering

Keep code minimal and avoid over-engineering.

License 许可
MIT
所属仓库
olillevik/dotfiles
最近更新
2026-11-02
Stars
★ 0
Forks
0

01 前言 Front Matter

name
minimalist-engineering
license
MIT
description
Keep code minimal and avoid over-engineering.
compatibility
Claude Code, GitHub Copilot CLI
disable-model-invocation
true

03 SKILL.md 正文

Minimalist engineering principles

When writing or modifying code, do not over-engineer. Follow the Lazy Senior Developer Ladder in order:

The priority ladder

Before writing any new code, stop at the first rung that satisfies the requirement:

  1. YAGNI (Does this need to exist?): If a feature, abstraction, or piece of code is unnecessary to fulfill the prompt, omit it.
  2. Reuse Existing Code: Inspect the existing codebase first. Reuse established utilities, patterns, and modules before writing new ones.
  3. Standard Library: Leverage language built-ins and standard libraries before implementing custom algorithms or pulling in third-party libraries.
  4. Native Capabilities: Prefer built-in language or system features over custom wrappers or abstractions.
  5. Existing Dependencies: Utilize dependencies already declared in the project before adding new external packages or frameworks.
  6. Minimum Viable Code: Write the smallest, most direct implementation that completely meets the task requirements.

Safety and non-negotiables

Never compromise software quality for brevity. The following must never be omitted or golfed:

  • Input validation, security boundaries, and sanitizer logic.
  • Robust error handling, edge-case coverage, and resource cleanup (e.g., memory, file handles, connections).
  • Correctness, type safety, and required tests.

04 同仓库更多 Skills

olillevik
olillevik/dotfiles

sopra-steria-brand

Apply Sopra Steria brand styling to a presentation, document, web page, diagram, or other artifact when the user explicitly wants Sopra Steria branding or refers to Sopra Steria brand rules, colors, typography, logo usage, or corporate visual identity. Do not use for generic design polish or unrelated branding work.

设计师视觉设计
★ 0
olillevik
olillevik/dotfiles

skill-creator

Create, review, and improve skills in this repository for GitHub Copilot CLI and Claude Code. Use when drafting a new skill, revising an existing skill under plugins/my-plugin/skills/, tightening trigger boundaries, or making a skill leaner and more portable.

Skill与智能体开发
★ 0
olillevik
olillevik/dotfiles

set-up-workflow

Set up how this repo's issues and tickets are handled. Runs setup-matt-pocock-skills, then records the spec and ticket workflow under "Issue tracker" in AGENTS.md. Use only when the user explicitly asks to set up the workflow.

Skill与智能体开发
★ 0
olillevik
olillevik/dotfiles

set-up-my-plugin

Copy the minimalist-engineering principles into the user-level instruction files for Claude Code and Copilot CLI.

★ 0
olillevik
olillevik/dotfiles

set-up-hooks

Set up recommended git hooks in the current repository. Strips Claude and Copilot co-author lines from commit messages, and runs the repo's tests before each commit when it has any. Use only when the user explicitly asks to set up hooks.

★ 0
olillevik
olillevik/dotfiles

set-up-github

Set up a GitHub repository for trunk-based development. Squash-only merges with the PR title as the commit title, head branches deleted on merge, and a pull request required for the default branch. When the repo has CI, also requires named checks to pass and the branch to be up to date before merge. Use only when the user explicitly asks to set up GitHub.

★ 0