agentsclimarketplace

Code quality review

Skill tuanductran/soulmap-ai/.claude/skills/code-quality-review

Review and improve Python code quality in SoulMap AI so typing, helper usage, exception handling, and repo tooling conventions stay consistent.From its SKILL.md

Install
npx -y skills add tuanductran/soulmap-ai --skill code-quality-review

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.2 KB, as published. Nobody here has run it

Code quality review

Use this skill when reviewing or improving Python implementation quality in src/, compatibility wrappers, tests/, or scripts/.

Do not use this skill for

Mission

Keep Python changes clear, typed, maintainable, and consistent with the repo's existing tooling contract.

Sources to check first

  • pyproject.toml
  • ../rules/python-tooling.md
  • ../rules/source-character-safety.md
  • docs/engineering/DEV.md
  • the target Python files and nearby tests

What to look for

  • stale or duplicated helper logic
  • weak typing or type drift against repo conventions
  • broad exception handling or hidden failure paths
  • dead branches, unused fields, or wrappers that add no value
  • local code that should use shared helpers in src/soulmap/runtime/io/cli_payload.py or src/soulmap/runtime/io/text_normalization.py

Workflow

  1. Read the target Python files and the closest tests first.
  2. Compare the implementation with pyproject.toml and ../rules/python-tooling.md.
  3. Identify concrete quality issues that affect clarity, correctness, or maintenance.
  4. Make the smallest correct change that improves the code without widening scope.
  5. Update tests when the observable contract changes.
  6. Run the repo checks needed for the touched files.

Expected output

Findings

List the concrete code-quality issues first.

Fixes

Summarize the changes that improved type safety, helper usage, or readability.

Validation

State which checks were run and whether they passed.

Definition of done

The updated code should be:

  • simpler or clearer than before
  • aligned with repo tooling rules
  • free of obvious duplicated logic
  • covered by the right tests for the changed behavior

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.