Skills python-expert
๐Ÿ“ฆ

python-expert

v1.0.0 Content revision r1 Safe โš™๏ธ External commands๐Ÿ“ Filesystem access๐Ÿ”‘ Env variables

Improve Python Code Quality

Python projects often need stronger correctness, types, and style. This skill guides implementation and review using practical Python best practices.

Supports: Claude Codex Code(CC)
๐Ÿฅˆ 80 Silver

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "python-expert" from https://skillstore.io/skills/shubhamsaboo-python-expert.md and its manifest at https://skillstore.io/api/skills/shubhamsaboo-python-expert/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Your Agent should still show its plan and request any confirmation required by the security policy.

Agent-readable resources

Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.

Test it

Using "python-expert". Review this utility module for Python quality.

Expected outcome:

  • Critical issue: one function uses a mutable default list, which can leak state between calls.
  • High priority: several public functions lack return type annotations and clear error behavior.
  • Medium priority: the module needs shorter names and clearer docstrings for public helpers.

Using "python-expert". Improve this data container class.

Expected outcome:

  • Recommendation: use a dataclass because the class mainly stores typed fields.
  • Add explicit field types, defaults, and immutability when the object should not change.
  • Keep custom methods only for behavior that dataclasses do not provide automatically.

Using "python-expert". Make this file processing script safer.

Expected outcome:

  • Use context managers for every file handle so cleanup happens after errors.
  • Handle expected parsing and missing-file exceptions separately.
  • Add tests for empty files, invalid input, and large input streams.

Security Audit

Safe
v2 โ€ข 7/7/2026 Open versioned report

All static findings are false positives from Markdown examples and Python teaching snippets. No evidence found of command execution, secret access, file-system abuse, prompt injection, or malicious intent in the reviewed files.

2
Files scanned
622
Lines analyzed
0
Review items
0
False positives ignored
No confirmed security findings were detected by the latest completed static and semantic audit. This does not prove the skill has no side effects.
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/shubhamsaboo-python-expert/audits/2?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/shubhamsaboo-python-expert/security.svg)](https://skillstore.io/skills/shubhamsaboo-python-expert?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/shubhamsaboo-python-expert?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/shubhamsaboo-python-expert/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/shubhamsaboo-python-expert.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

shubhamsaboo. (2026). python-expert security audit report (audit version 2) [Author version 1.0.0]. Skillstore. https://skillstore.io/skills/shubhamsaboo-python-expert/audits/2

BibTeX citation

@techreport{shubhamsaboo-shubhamsaboo-python-expert-2026, author = {shubhamsaboo}, title = {python-expert security audit report (audit version 2)}, institution = {Skillstore}, year = {2026}, number = {2}, url = {https://skillstore.io/skills/shubhamsaboo-python-expert/audits/2}, note = {Author version 1.0.0} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "python-expert security audit report (audit version 2)" version: "1.0.0" type: report authors: - name: "shubhamsaboo" date-released: "2026-07-07" url: "https://skillstore.io/skills/shubhamsaboo-python-expert/audits/2" identifiers: - type: other value: "skillstore:shubhamsaboo-python-expert:audit:2" description: "Skillstore immutable audit report identifier"

Skillstore Score

Why this score Evidence Confidence: Medium
55
Architecture
100
Maintainability
87
Content
65
Community
83
Spec Compliance

What You Can Build

Review a Pull Request

Find Python correctness, typing, error handling, performance, and documentation issues before merge.

Refactor a Script

Improve an existing script with clearer functions, safer resource handling, and better style.

Learn Python Practices

Understand common Python pitfalls through concise examples and review checklists.

Try These Prompts

Add Basic Quality Checks
Review my Python code for mutable defaults, bare except clauses, missing type hints, and unclear names. Explain each issue simply.
Improve a Function Interface
Help me improve this Python function interface with type hints, a clear docstring, input validation, and specific exceptions.
Refactor for Maintainability
Refactor this Python module for readability, data containers, resource cleanup, and performance without changing behavior.
Audit Production Python
Perform a release-focused Python review. Prioritize correctness, error handling, type safety, resource cleanup, performance, tests, and documentation.

Best Practices

  • Address correctness issues before style changes or performance tuning.
  • Use specific exceptions and explain fallback behavior clearly.
  • Add type hints and docstrings to public functions that other users call.

Avoid

  • Do not use mutable default arguments for lists, dictionaries, or sets.
  • Do not hide errors with bare except clauses or silent pass statements.
  • Do not optimize Python code before measuring the actual bottleneck.

Frequently Asked Questions

What does this skill help with?
It helps write, review, debug, and improve Python code using practical quality guidelines.
Can it review existing code?
Yes. It can identify correctness, type safety, error handling, performance, style, and documentation issues.
Does it run Python tests?
No. It provides guidance and review output, but test execution depends on the host agent and project setup.
Is it useful for beginners?
Yes. It explains common Python mistakes with simple examples and clear fixes.
Does it cover security?
It includes basic checks such as input validation and unsafe operations, but it is not a full security audit skill.
Which tools support it?
The report lists support for Claude, Codex, and Claude Code.

Developer Details

License

MIT

Author version

v1.0.0

Skillstore revision

r1

Ref

412e23e39ccd9729546286287b96bb41707397cf

Maintenance freshness

7/18/2026

Usage

3 downloads ยท 0 views

File structure

๐Ÿ“„ AGENTS.md

๐Ÿ“„ SKILL.md