ak-dev-code-quality

Enforce Python code quality with black, isort, and mypy.

113|60|Updated Jul 18, 2025
One-click install
npx skills add https://github.com/yaalalabs/agent-kernel --skill ak-dev-code-quality
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ak-dev-code-quality
Source: https://github.com/yaalalabs/agent-kernel/tree/main/.agents/skills/ak-dev-code-quality
Command: npx skills add https://github.com/yaalalabs/agent-kernel --skill ak-dev-code-quality

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enforces consistent code quality, formatting, commit conventions, and a streamlined pull request workflow, ensuring the integrity and maintainability of the Agent Kernel codebase.

Core Features & Use Cases

  • Code Formatting: Automatically formats Python code using black and sorts imports with isort.
  • Type Checking: Enforces type safety with mypy.
  • Commit Conventions: Guides developers to use Conventional Commits for clear and standardized commit messages.
  • PR Workflow: Outlines pre-submission checks and guidelines for creating effective pull requests.
  • Use Case: When contributing to Agent Kernel, use this skill to format your code, write a compliant commit message, and ensure your changes adhere to project standards before submitting a pull request.

Quick Start

Run make lint-all to format the Agent Kernel codebase and examples.

Frequently Asked Questions about ak-dev-code-quality

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I format Python code and sort imports for a pull request?

To format Python code and sort imports for a pull request, run `make lint-all`. This automatically applies black formatting and isort import sorting to ensure your changes meet code quality standards.

What are conventional commits and how do they structure commit messages?

Conventional commits provide a standardized structure for commit messages, ensuring clear project history. This skill guides developers to use this format for all contributions to maintain consistency across the codebase.

Does this workflow enforce type checking with mypy for Python packages?

Yes, this workflow enforces type safety using mypy. It automatically checks type annotations to ensure your Python code adheres to strict type safety guidelines before submission.

Can I use black and isort to enforce code style in Agent Kernel development?

Yes, you can use black and isort to enforce code style in Agent Kernel development. This skill integrates these tools to automatically manage code formatting and import sorting for the agentkernel package.

What pre-submission checks are required for an effective pull request workflow?

Effective pull request workflows require running local linting and type checks first. This skill outlines specific pre-submission guidelines to verify your code adheres to project standards before creating a pull request.