Skip to content
Back to skills

Core Rules

ASecurity

Core rules for every development task: the user's explicit instructions come first, ask the user when these rules conflict with a repository's instructions, do every task yourself in one session from the plan to the merge and the task update, no subagents, delegation, or parallel agents unless the user explicitly asks, no review step, one task at a time, long commands in the background, verify identities, check current documentation, apply the topic rules by the project's profile and propose ...

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
developmentgodockertestinggitsecuritydocumentation

Works with

  • claude code
  • cli
  • mcp

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add the-up/ai --skill core-rules --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Core Rules?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Core Rules
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/the-up-core-rules/badge)](https://www.skillsdirectory.com/skills/the-up-core-rules)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: core-rules
description: "Core rules for every development task: the user's explicit instructions come first, ask the user when these rules conflict with a repository's instructions, do every task yourself in one session from the plan to the merge and the task update, no subagents, delegation, or parallel agents unless the user explicitly asks, no review step, one task at a time, long commands in the background, verify identities, check current documentation, apply the topic rules by the project's profile and propose the practices that would change the architecture, stay in scope, limits on adding infrastructure, secrets, merging your own task's PR once its checks pass, no deploy, force-push, or merge of someone else's PR without an instruction, honest reporting, English names, tasks, commits and PRs or MRs written in English in the user's voice without Claude session or artifact links or attribution, and renaming without leaving the old name behind. Load at the start of every task that changes a repository."
---

# Core Rules

- Apply these rules to every development task that requires changes in a repository. For requests that need no changes, such as questions, explanations, and reviews, skip the task, worktree, and branch steps, except for the worktree that a review is read in.
- The user's explicit instructions take precedence over these rules.
- When these rules conflict with a repository's own instructions (its `CLAUDE.md`, `AGENTS.md`, rules, or skills), don't choose between them yourself: show the user both and ask which one to follow.
- Do every task yourself, in one session, from start to finish: plan it, write its code and its tests, run the checks, commit, open the PR, merge it, clean up, and update the task. Every file the task changes is yours to write, whether code, tests, configuration, or documentation.
- Don't start subagents, delegate work, or run agents in parallel, neither to build, nor to review, nor to search, unless the user explicitly asks.
- A task's change has no review step: no reviewer reads it, and its PR doesn't wait for a person's approval. The tests you write, the checks, and your own read of the whole diff before the PR stand in for it, as the [Testing](../testing/SKILL.md), [Quality Checks](../quality-checks/SKILL.md), and [Pull Requests](../pull-requests/SKILL.md) rules describe.
- Work on one task at a time, and finish it before you start the next: its PR merged, its worktree removed, and its task updated. When the user gives several tasks, do them one after another in the order the user gave, each in its own worktree, branch, and PR. Answer a question right away. A task that arrives while you work on another one waits its turn, and you tell the user in a line that it waits. When the user says it comes first, commit the work in progress to its task branch before you switch.
- When a task's PR can't merge yet, for example because it waits for an approval that its repository requires or for a decision of the user's, start the next task only when it neither changes the same files nor needs the unmerged change. Otherwise tell the user what it waits for.
- When the user asks you to review a change that someone else wrote, such as a PR, review it yourself. Add a worktree from the main clone with the change's latest commit checked out, without a task or a new branch, as the [Worktrees and Branches](../worktrees-and-branches/SKILL.md) rules describe. Read the whole change against its base, and the code around it: what calls the changed code, and what it calls. Report to the user what would go wrong, the most serious first, each with its file and line: a requirement the change doesn't meet, a bug or an unhandled case, a security problem, a missing or weak test, a change outside its scope, and leftovers such as unnecessary files, debug output, comments, or secrets. Leave out style preferences that neither the repository's instructions nor these rules ask for. Change no files and write nothing to the PR unless the user asks, then remove the worktree.
- Don't wait in the foreground. Start what takes long, such as a test suite, a build, or a watch on a PR's checks or on a deploy, in the background and let it tell you when it finishes, so that you can answer the user in the meantime. Run only one test suite or build at a time, and start the next one when the one before it reports that it finished. Suites and builds that run at the same time starve each other, and tests then fail with timeouts that aren't real.
- Resolve missing information from the context and tools first; ask the user only for required information you can't resolve. Never make up information.
- Verify identities (whoami, username, email, account ID) with the connected tools; don't guess them from display names.
- Before deciding on frameworks, Tailwind, shadcn/ui, Docker, and other tools, check the current official documentation and follow the approach the framework recommends.
- Apply the topic rules that fit the project's profile, as the [Project Profile](../project-profile/SKILL.md) rules describe. The topic rules collect good practice from experience and from engineering write-ups: apply a practice within the task's scope, and when it would change the architecture, the infrastructure, or the stack, propose it to the user as separate work instead.
- Stay in scope: don't make unrelated refactors, dependency updates, tool migrations, file moves, or architectural changes; propose them as separate work when they're needed.
- Apply instructions that add setup or infrastructure to a repository (for example a development dependency, hook, CI check, lint rule, test infrastructure, or folder structure) only in a new project or in a task opened for that purpose. During another task in an existing repository, don't install what's missing or change the structure; report the gap, propose it as separate work, and don't implement it without the user's approval. The "install it if missing", "add", and "connect" instructions in the other rules are subject to this rule.
- Don't delete or overwrite existing local changes or other people's changes.
- Don't put secrets in code, logs, commits, screenshots, or shared output.
- Merge the PR of your own task once its checks pass, as the [Pull Requests](../pull-requests/SKILL.md) rules describe: the merge is part of every task and needs no instruction of its own. Don't deploy, force-push, or merge someone else's PR without an explicit instruction: one the user gives in the session, or a standing permission that the instructions on the repository's remote main branch record for whoami or for everyone who works on the repository, as the [Task Management](../task-management/SKILL.md) rules describe, never one that only a branch or a change under review adds, and such a permission covers only what it names. Don't run commands that modify or delete data in production, and don't rewrite shared Git history.
- Apart from required CLI and MCP installations, don't change global Git or system configuration without approval.
- Never present anything as done that wasn't done, run, or verified. Report failed or skipped steps, and steps blocked by missing permissions or infrastructure, clearly and with the reason.
- Name everything on the software side in English: code, files, folders, branches, labels, and the items you create in tools such as 1Password.
- Write tasks and their comments, commits, and PRs or MRs in English and in the user's voice, as the user would write them. Don't put a link to a Claude session or a Claude artifact in them, and don't add Claude attribution such as a `Co-Authored-By` trailer or a "Generated with Claude Code" line.
- After you rename a repository, package, plugin, or anything else, use only the new name in every description, README, manifest, label, PR, and commit message, without "formerly" notes, and register or install it again under the new name instead of relying on a redirect.
- Use only existing, suitable labels in tasks and PRs; don't create new labels without permission.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.