Aia Generationのロゴ

Aia Generation

コミュニティ
AlsKozlov
aia-generation

AI Impact Assessment (AIA) — formal documentation для AI use case рассматриваемого как medium/high risk. РФ specifics: AIA combines AI-specific risks с ОВПД framework (152-ФЗ ст.18.1) если processing ПДн. Структура: scope + risks + mitigation + approval. Subject to compliance officer / AI Officer / outside-адв ФПА review.

概要

公開者AlsKozlov
リポジトリru-legal
スキル名aia-generation
スター
42
フォーク
6
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    AlsKozlovがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Aia Generation」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/AlsKozlov/ru-legal/tree/master/packs/ai-governance/skills/aia-generation
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AlsKozlov/ru-legal.git /tmp/ru-legal
mkdir -p .claude/skills
cp -r /tmp/ru-legal/packs/ai-governance/skills/aia-generation .claude/skills/aia-generation
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAia Generationを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAia Generationを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Aia Generationは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

/aia-generation

Назначение

Generate formal AI Impact Assessment document. Required after /use-case-triage classified use case как IMPACT ASSESS level.

Pre-flight

  • /use-case-triage completed — IMPACT ASSESS classified
  • Stakeholders identified (technical, business, legal, security, ethics)
  • Готовы spend several days на полную AIA

AIA structure

markdown
# AI Impact Assessment
# Use case: [name]

**Version:** 1.0
**Date:** [DD.MM.YYYY]
**Authors:** [names + roles]
**Status:** [Draft / Under Review / Approved]
**Privilege framing:** [Privileged через outside-адв ФПА / Business-confidential]

Section 1: Use case description

markdown
## 1. Use case description

### 1.1. Purpose

[What this AI system is supposed to do, who benefits, what value]

### 1.2. Scope

[Specific functions, boundaries, what it doesn't do]

### 1.3. Stakeholders

| Role | Specific persons | Interest in this AI |
|------|------------------|---------------------|
| Customer | [...] | [...] |
| End user | [...] | [...] |
| Internal team | [...] | [...] |
| Regulator | [Минцифры / ЦБ / ФАС / etc.] | [oversight] |

### 1.4. Stages of usage

- Training / fine-tuning
- Deployment
- Production usage
- Periodic retraining / updates
- Decommissioning

Section 2: Technical details

markdown
## 2. Technical details

### 2.1. Underlying technology

- **Type:** [LLM / classical ML / CV / иное]
- **Vendor or self-hosted:** [...]
- **Model architecture:** [transformer / RNN / classical / иное]
- **Training data:** [source — internal / public / purchased / mixed]
- **Fine-tuning?** [Y/N + on what data]

### 2.2. Input / Output

- **Inputs accepted:** [data types, examples]
- **Outputs produced:** [data types, examples]
- **Decision authority:** [AI alone / AI + human / AI assists]

### 2.3. Performance characteristics

- **Expected accuracy:** [%]
- **Throughput:** [N requests / second]
- **Latency:** [seconds]
- **Failure modes:** [known limitations]

### 2.4. Update / maintenance

- Retraining frequency
- Monitoring metrics
- Performance degradation triggers

Section 3: Legal compliance analysis

markdown
## 3. Legal compliance

### 3.1. 152-ФЗ (если ПДн обрабатываются)

- **Processing roles:** [we as operator / vendor as processor]
- **Categories ПДн:** [...]
- **Legal basis:** [contract / consent / законные интересы / иное]
- **Special category** (ст.10) — health, биометрия, политика и пр.: [Y/N + safeguards]
- **Локализация (ст.18 ч.5):** processing в РФ confirmed
- **Cross-border transfer:** [Y/N + основание]
- **Уведомление РКН подано:** [Y/N + when]
- **ОВПД (ст.18.1) — оценка вреда:** done или not required?

### 3.2. Sectoral compliance

[Если применимо]

- **Финансовое (Банк России):** ФЗ-353 / 218 / 115 — compliance
- **Медицинское (Минздрав):** ФЗ-323 / лицензирование / Росздравнадзор регистрация AI as medical device
- **Образовательное (Минобрнауки):** ФЗ-273
- **Гос.услуги:** ПП 1503 / ФЗ-258 sandbox

### 3.3. Anti-discrimination

- **Risk:** AI может дискриминировать по защищённым категориям (раса, пол, возраст, инвалидность, и пр.)?
- **Mitigation:** [bias testing, fairness metrics, audit logs]
- **Legal basis для defense:** [ст.3 ТК если employment-related; ФЗ-181 если касается инвалидов]

### 3.4. Transparency requirements

- **Disclosure к user:** [что это AI, не человек] — see `/user-disclosure-check`
- **Explanation:** [right to explanation of automated decision — ст.16 152-ФЗ]
- **Documentation publicly available:** [policy / FAQ]

### 3.5. Intellectual property

- **Training data IP:** licensed properly? (см. `/training-data-review`)
- **Output IP:** ownership clear?
- **Copyright risks:** outputs similar к existing works?

Section 4: Risk assessment

markdown
## 4. Risk assessment

### 4.1. Identified risks

| # | Risk | Likelihood (1-5) | Impact (1-5) | Composite | Mitigation |
|---|------|-------------------|----------------|-----------|------------|
| 1 | Hallucination в production user-facing answer | 4 | 3 | 12 | Confidence scoring + disclaimers + human review для high-stakes |
| 2 | ПДн leakage в logs | 2 | 5 | 10 | Encryption + access controls + log redaction |
| 3 | Discrimination в outputs | 3 | 4 | 12 | Bias testing pre-deployment + ongoing monitoring + appeal process |
| 4 | Sanctions-related vendor unavailability | 3 | 4 | 12 | Backup Russian alternative + open-source fallback |
| 5 | Regulatory change requires rework | 3 | 3 | 9 | Periodic regulatory monitoring (см. `data-protection/reg-gap-analysis`) |
| 6 | ... | | | | |

### 4.2. Acceptable residual risk

[After mitigation — is the remaining risk acceptable?]

[Y/N + reasoning]

Section 5: Mitigations + controls

markdown
## 5. Mitigations + controls

### 5.1. Technical mitigations

- [ ] Input validation / sanitization
- [ ] Output filtering / content moderation
- [ ] Rate limiting per user
- [ ] Anomaly detection
- [ ] A/B testing pre-rollout
- [ ] Confidence scoring with thresholds
- [ ] Fallback to human для low-confidence cases

### 5.2. Procedural mitigations

- [ ] Human-in-the-loop для significant decisions
- [ ] Right to human review (ст.16 152-ФЗ если applicable)
- [ ] Appeal / dispute mechanism
- [ ] Periodic accuracy / fairness audits
- [ ] Incident reporting process
- [ ] User feedback channels

### 5.3. Documentation

- [ ] Internal documentation полная
- [ ] User-facing explanations
- [ ] Model cards (industry best practice)
- [ ] Datasheet for training data

### 5.4. Monitoring + alerts

- Performance metrics tracked
- Drift detection
- Adverse outcome notifications
- Quarterly review meetings

Section 6: Stakeholder consultation

markdown
## 6. Stakeholder consultation

| Stakeholder | Date consulted | Concerns raised | Resolution |
|-------------|----------------|-------------------|-------------|
| Legal | DD.MM.YYYY | ... | ... |
| Compliance | DD.MM.YYYY | ... | ... |
| InfoSec | DD.MM.YYYY | ... | ... |
| Affected business unit | DD.MM.YYYY | ... | ... |
| (External) outside-адв ФПА | DD.MM.YYYY | ... | ... |
| (External) AI ethics board | DD.MM.YYYY | ... | ... |

Section 7: Recommendation

markdown
## 7. Recommendation

[APPROVE FOR DEPLOYMENT / APPROVE WITH CONDITIONS / NEEDS REWORK / DO NOT APPROVE]

### Conditions (если applicable)

1. [Concrete condition]
2. ...

### Approvers required

- [ ] AI Officer
- [ ] Compliance Officer
- [ ] CISO (для security implications)
- [ ] Legal (in-house GC)
- [ ] (Material) Outside-адв ФПА review
- [ ] (Material) Board / Executive committee

Section 8: Implementation plan

markdown
## 8. Implementation plan

### Pre-deployment

| Action | Owner | Deadline |
|--------|-------|----------|
| [...] | [...] | [...] |

### Deployment

[Rollout plan — gradual / pilot / full]

### Post-deployment monitoring

[Schedule + metrics + escalation triggers]

Section 9: Review schedule

markdown
## 9. Review schedule

- **Initial review post-deployment:** [DD.MM.YYYY] (1-3 months)
- **Annual review:** [DD.MM.YYYY]
- **Trigger-based review:** [conditions — adverse outcome, regulatory change, material model update]

Workflow

Шаг 1. Set up document

Create AIA document for the specific use case. Pull data from PROFILE.md и /use-case-triage outputs.

Шаг 2. Fill in sections

Sections 1-2 — technical input from product team / data scientists.

Sections 3-5 — legal / compliance analysis. Это major value-add от skill.

Section 6 — track consultations.

Sections 7-9 — recommendations + plan.

Шаг 3. Review + iteration

  • Internal review (legal + compliance)
  • Stakeholder feedback
  • (Material) outside-адв ФПА review
  • Updates based on feedback

Шаг 4. Approval

  • Sign-off от required approvers
  • Document approval chain
  • Store в AIA registry

Шаг 5. Post-AIA monitoring

  • Track that mitigations actually implemented
  • Periodic re-AIA при material changes
  • Incident tracking + reporting

Что НЕ делает

  • Не делает technical AI testing (это data science / ML engineers)
  • Не replaces outside-адв legal opinion для material matters
  • Не выполняет actual implementation — это product / engineering

Attribution

Adapted from ai-governance-legal/aia-generation by Anthropic (Apache 2.0).

Категория B:

  • EU AI Act FRAIA / NIST AI RMF template → adapted к РФ context
  • 152-ФЗ ст.18.1 ОВПД integration — РФ-specific
  • ст.16 152-ФЗ право на review automated decisions — РФ-specific
  • Sectoral overlays РФ (Банк России / Минздрав / Росздравнадзор) вместо US/EU
  • Sanctions risk dimension — РФ-specific
  • Outside-адв ФПА involvement для privilege — РФ-specific

Original copyright: © 2026 Anthropic PBC, Apache 2.0.


⚠ Юридический disclaimer

Данный skill — техническая платформа, не оказывает юридических услуг по ст.2 ФЗ-63 «Об адвокатской деятельности». Outputs не заменяют консультацию лицензированного юриста / адвоката ФПА.

AI может галлюцинировать, выдавать устаревшие нормы, неверно интерпретировать факты. Material decisions (увольнение, M&A, налоговый спор, IP litigation) — обязательно engage outside-адв ФПА с релевантной специализацией.

Проект ru-legal и его contributors не несут ответственности за решения, принятые на основе outputs системы. Использование — на свой риск.

よくある質問

AIスキル「Aia Generation」では何ができますか?

AI Impact Assessment (AIA) — formal documentation для AI use case рассматриваемого как medium/high risk. РФ specifics: AIA combines AI-specific risks с ОВПД framework (152-ФЗ ст.18.1) если processing ПДн. Структура: scope + risks + mitigation + approval. Subject to compliance officer / AI Officer / outside-адв ФПА review.

TypingMindでAia Generationを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Aia Generationはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAia Generationをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/AlsKozlov/ru-legal/tree/master/packs/ai-governance/skills/aia-generationを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Aia Generationを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Aia Generationで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAia Generationを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Aia Generation」は無料ですか?

AlsKozlovがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇