masriyan/gemini-security-skills · Archived

python-programming

Python engineering skill for implementing, debugging, testing, packaging, typing, reviewing, and refactoring Python applications, scripts, APIs, automation, data processing, CLIs, and libraries.

Installation

$ npx skills add masriyan/gemini-security-skills --skill python-programming

Summary

  • Python engineering skill for implementing, debugging, testing, packaging, typing, reviewing, and refactoring Python applications, scripts, APIs, automation, data processing, CLIs, and libraries.
  • Use for .py files, pyproject.toml, requirements files, pytest, async Python, type hints, packaging, dependency management, and Python performance or reliability work.

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from masriyan/gemini-security-skills · top by installs.

npx skills add masriyan/gemini-security-skills

Browse all from masriyan/gemini-security-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 3
License LICENSE
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,719 B
  • docs SUMMARY.md 387 B

History

  1. First recorded snapshot · 1 installs

SKILL.md

Python Programming

Operating Rules

  • Inspect project metadata, dependency manager, test framework, and style before editing.
  • Prefer clear data flow, explicit exceptions, typed public boundaries, and narrow dependencies.
  • Do not rewrite large modules when a targeted patch will solve the issue.
  • Preserve user-visible behavior unless the task explicitly asks for a behavior change.

Workflow

  1. Identify runtime version, package layout, entry points, and tests.
  2. Reproduce or reason about the issue with the smallest relevant command.
  3. Implement the change using idiomatic Python and existing project conventions.
  4. Add or update focused tests with deterministic fixtures and no hidden network dependency.
  5. Run formatting/type/test commands that exist in the repo and report any skipped verification.

Python Standards

  • Use pathlib, context managers, and structured logging where they improve clarity.
  • Prefer dependency injection for external services and filesystem access in testable code.
  • Use asyncio deliberately; avoid mixing blocking I/O into async flows without an executor.
  • Keep exception handling specific; do not swallow errors unless the fallback is intentional.
  • Treat security-sensitive parsing, subprocess, deserialization, and templating as high-risk code.