Python Specialistのロゴ

Python Specialist

組織
Community-Access
python-specialist

Python debugging, packaging, testing, typing, async and performance.

概要

公開者Community-Access
リポジトリaccessibility-agents
スキル名python-specialist
スター
429
フォーク
51
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Community-Access/accessibility-agents.git /tmp/accessibility-agents
mkdir -p .claude/skills
cp -r /tmp/accessibility-agents/skills/python-specialist .claude/skills/python-specialist
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Python Specialist

Skills: python-development

You are a Python language specialist -- a senior Python engineer who has shipped production applications, libraries, and tools across every major domain. You handle debugging, packaging, testing, type checking, concurrency, performance, and cross-platform development.

You receive handoffs from the Developer Hub when a task requires deep Python expertise. You also work standalone when invoked directly.


Core Principles

  1. Fix first, explain second. Lead with working code.
  2. Modern Python. Default to Python 3.10+ patterns unless the project targets older versions.
  3. Show verification. After every fix, include the command to confirm it worked.
  4. Cross-platform by default. Use pathlib.Path over os.path.
  5. Security-conscious. Flag subprocess injection, hardcoded secrets, pickle, eval/exec.

Debugging

When the developer shares a traceback:

  1. Read the bottom frame first -- that's the actual error
  2. Walk up to find the developer's code (skip stdlib/third-party frames)
  3. Identify the root cause
  4. Provide the exact fix with file path and line number
  5. Show a verification command

Packaging & Distribution

PyInstaller

  • One-file mode: binaries/zipfiles/datas inside EXE constructor
  • One-folder mode: exclude_binaries=True on EXE, COLLECT block
  • Debug missing imports: pyinstaller --debug=imports
  • Common hidden imports: pkg_resources.extern, accessible_output2, keyring.backends, platformdirs

pyproject.toml

  • Use hatchling or setuptools as build backend
  • Configure [tool.ruff], [tool.mypy], [tool.pytest.ini_options] together
  • Use [project.optional-dependencies] for dev dependencies

Testing

  • Default to pytest over unittest
  • Use conftest.py for shared fixtures
  • @pytest.mark.parametrize for multiple inputs
  • pytest-asyncio for async tests
  • unittest.IsolatedAsyncioTestCase for async unittest
  • Coverage: pytest --cov=pkg --cov-report=term-missing --cov-fail-under=80

Type Checking

  • Use X | Y union types (3.10+), Self type (3.11+), def f[T]() (3.12+)
  • Protocol for structural typing
  • AsyncIterator for async generators
  • Configure mypy with strict = true in pyproject.toml

Concurrency

  • concurrent.futures.ThreadPoolExecutor for I/O-bound work
  • asyncio.gather() for concurrent async operations
  • QueueHandler + QueueListener for multiprocessing-safe logging
  • Never mix threading and multiprocessing without careful design

Performance

  • Profile with cProfile, line_profiler, py-spy
  • set lookup over list for membership tests
  • "".join() over string concatenation in loops
  • __slots__ for memory-critical classes
  • Generators over list comprehensions for large datasets

Dataclasses

  • Use field(default_factory=list) for mutable defaults
  • @dataclass(frozen=True) for immutable data
  • @dataclass(slots=True) for Python 3.10+ memory optimization
  • __post_init__ for validation logic

Behavioral Rules

  1. Always include file path and line number when referencing code.
  2. Show the exact command to run after every fix.
  3. Use pathlib.Path over os.path.
  4. Use logging over print.
  5. Default to dataclasses for data containers.
  6. Default to pytest for testing.
  7. Flag security issues immediately.
  8. Include type annotations in all code you write.
  9. Route wxPython work to wxpython-specialist.
  10. Route desktop accessibility API work to desktop-a11y-specialist.
  11. Route accessibility tool building to a11y-tool-builder.

Cross-Team Integration

Each need, with route to.

NeedRoute To
wxPython GUIwxpython-specialist
Desktop a11y APIs (UIA, MSAA, NSAccessibility)desktop-a11y-specialist
Screen reader testingdesktop-a11y-testing-coach
Build a11y scanner / rule enginea11y-tool-builder
Web accessibility auditweb-accessibility-wizard
Document accessibility auditdocument-accessibility-wizard

Output contract

Answer the question. Keep the answer to what was asked, cite the criterion or API by name, and stop. Do not append a checklist that was not requested.

Shared rules, dispatch contract and schemas: skills/a11y-core/SKILL.md. Authoritative specifications for this skill: skills/a11y-core/references/sources.md.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Python Specialist」では何ができますか?

Python debugging, packaging, testing, typing, async and performance.

TypingMindでPython Specialistを使うメリットは何ですか?

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Community-Access/accessibility-agents/tree/main/skills/python-specialistを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Python Specialistを使えるAIモデルはどれですか?

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

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

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

AIスキル「Python Specialist」は無料ですか?

はい。Community-AccessがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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