本文へ移動
cccskills
無料GitHub で公開

data-protection-and-encryption

Protects data itself rather than the systems around it — classifying what you hold, encrypting in transit and at rest and understanding what each actually defends against, managing keys and their rotation, handling secrets in applications and pipelines, minimizing and de-identifying, and deleting on purpose. Use this to design data protection for a system, assess an encryption claim, set up key or secret management, or work out what a stolen backup would actually expose.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md5.0 KB
  • references/sources.md1.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Data protection and encryption

Perimeter and identity controls protect access to data. These controls protect the data when those have already failed, which is the scenario worth designing for.

Classify before you protect, because you cannot protect everything equally

A short scale beats a detailed one — three or four levels that people can apply without a manual. What matters is that each level carries concrete handling rules: where it may be stored, who may access it, whether it may leave the environment, and how long it is kept.

Find it before you classify it. Sensitive data is rarely only where the architecture says it is: it accumulates in exports, analytics environments, test databases seeded from production, support tickets, and log files.

Know what each kind of encryption actually defends against

This is where claims get made loosely and expectations diverge from reality.

  • In transit protects against interception on the network. Enforce it everywhere, including internal service-to-service traffic, and prefer a modern configuration over one accumulated over years.
  • At rest, provider-managed protects against physical media theft and disk disposal. It does not protect against an application bug, a compromised credential, or an over-broad query — the storage layer decrypts transparently for anything with legitimate access. Full-disk encryption on a running server protects almost nothing about that server.
  • Application-level or field-level protects specific fields from anything below the application, including database administrators and backups. It costs you searchability and indexing on those fields, which is a real design constraint rather than a footnote.

Choose deliberately. "Encrypted at rest" as a blanket assurance usually means the first of these, and answers far less than the person asking believes.

Keys are the whole control

Encryption moves the problem to key management; it does not remove it. A key stored beside the data it protects provides documentation, not protection.

  • Use a managed key service or hardware-backed store. Keys in configuration files, environment variables committed to a repository, or application code are the common real-world failure.
  • Separate duties so the people who administer the data are not the people who administer the keys.
  • Plan rotation before you need it, including how you re-encrypt existing data. Rotation nobody has practiced is a policy, and the moment you need it is after a suspected exposure.
  • Know what key destruction means. Deleting a key makes the data unrecoverable, which is either a deletion mechanism you designed for or an outage you did not.

Secrets are the credential case of the same problem

Application secrets — database passwords, API keys, service tokens — belong in a secret manager, injected at runtime, scoped narrowly, and rotated on a schedule and on staff departure.

Scan for committed secrets in CI and pre-commit, and treat any secret that has ever reached a repository as compromised. Removing the commit does not un-publish it; rotation is the only remediation.

Minimize, de-identify, and delete

The most reliable protection is not holding the data.

  • Collect what the purpose needs. Every extra field is a permanent liability with no owner.
  • Do not seed test environments from production without de-identification. This is one of the most common exposures and one of the easiest to fix.
  • Understand that removing names is not anonymization. A combination of ordinary fields often re-identifies people; treat de-identified data as still sensitive unless someone has actually tested that it is not.
  • Delete on a schedule you can evidence, and confirm deletion reaches backups, replicas, analytics copies and archives — where it usually does not.

Sources

references/sources.md in this skill lists the outside authorities that settle the questions here — what each one is authoritative for, and what you may do with it. Check them before answering on anything they cover, and cite what you used. Most are free to read and not free to reproduce; the use note on each is binding.

Never

  • Describe data as encrypted without saying against which threat.
  • Store a key or secret in the same place as the data or code it protects.
  • Rotate credentials without confirming the old ones stop working.
  • Copy production data into a test environment without de-identifying it first.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Designs and audits who can reach what — authentication, authorization models, privileged access, service credentials, and joiner-mover-leaver process. Use this to design a permissions model, run an access review, reduce standing privilege, handle offboarding, set up SSO or MFA, manage service and machine credentials, or diagnose why permissions have sprawled.

日本語の概要は準備中です。原文の説明を表示しています。

cbrock84/headcount2,0312026年9月18日 更新

Concentrates marketing and sales effort on a named set of accounts rather than on volume — qualifying whether the model fits your economics at all, building the account list and the buying group inside each, tiering effort against account value, coordinating so the account experiences one campaign rather than several, and measuring account progression instead of leads. Use this to decide whether to run an account-based program, build one, or work out why an existing one produces activity and no pipeline.

日本語の概要は準備中です。原文の説明を表示しています。

cbrock84/headcount2,0312026年9月18日 更新

Gets new users from signup to first real value — signup flow, onboarding, time-to-value, and the early experience that determines whether someone becomes a user or a lapsed account. Use this to design or fix signup and onboarding, diagnose why signups do not convert to active use, reduce time-to-value, or decide what a new user must accomplish first.

日本語の概要は準備中です。原文の説明を表示しています。

cbrock84/headcount2,0312026年9月18日 更新

Designs orchestrator-and-subagent hierarchies for a repository — splitting agents by exclusive write surface, pairing every producer with an independent auditor, and enforcing the split with a script that runs in CI. Use this whenever the user wants to set up, expand, audit, or fix a multi-agent or subagent structure for a codebase; asks how to divide work between agents; wants agent charters, roles, or a surface map written; or is hitting agents that collide on the same files, review their own work, or drift from their remit. Also use when sizing a roster or deciding whether a new agent is justified.

日本語の概要は準備中です。原文の説明を表示しています。

cbrock84/headcount2,0312026年9月18日 更新

Governs models and AI systems in production — intended use, evaluation, monitoring, human oversight, documentation, and the decision to deploy or retire. Use this before deploying a model or AI feature, when defining evaluation criteria, when a model's behavior has drifted, when assessing AI risk or regulatory exposure, or when deciding whether an AI system is fit for a consequential decision.

日本語の概要は準備中です。原文の説明を表示しています。

cbrock84/headcount2,0312026年9月18日 更新

Produces executive-level research — market sizing, competitor mapping, trend analysis, and strategic intelligence — grounded in cited sources with the confidence in each claim made explicit. Use this to analyze a market or industry, map competitors, evaluate a market-entry or build-versus-buy decision, produce a research brief, or assemble evidence for a decision. Also use when comparing options that need a structured, evidence-based verdict rather than an opinion.

日本語の概要は準備中です。原文の説明を表示しています。

cbrock84/headcount2,0312026年9月18日 更新

cbrock84 のスキルをすべて見る

このスキルの問題を報告する