Mkdocs
jeka-dev/jeka
MkDocs documentation project reference covering CLI commands, mkdocs.yml configuration, Material theme setup, and plugin integration.
Generates meaningful comments and documentation for code to improve maintenance and readability.
$ npx skills add ArabelaTso/Skills-4-SE --skill code-comment-generator -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ArabelaTso/Skills-4-SE code-comment-generator --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/code-comment-generator .claude/skills/code-comment-generator && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "code-comment-generator" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/code-comment-generator into .claude/skills/code-comment-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-comment-generator", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/code-comment-generatorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ArabelaTso/Skills-4-SE --skill code-comment-generator -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ArabelaTso/Skills-4-SE code-comment-generator --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/code-comment-generator .agents/skills/code-comment-generator && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "code-comment-generator" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/code-comment-generator into .agents/skills/code-comment-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-comment-generator", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ArabelaTso/Skills-4-SE --skill code-comment-generator -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ArabelaTso/Skills-4-SE code-comment-generator --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/code-comment-generator .cursor/skills/code-comment-generator && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "code-comment-generator" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/code-comment-generator into .cursor/skills/code-comment-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-comment-generator", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ArabelaTso/Skills-4-SE.git --path skills/code-comment-generator--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ArabelaTso/Skills-4-SE --skill code-comment-generator -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ArabelaTso/Skills-4-SE code-comment-generator --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/code-comment-generator .gemini/skills/code-comment-generator && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "code-comment-generator" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/code-comment-generator into .gemini/skills/code-comment-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-comment-generator", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ArabelaTso/Skills-4-SE code-comment-generatorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ArabelaTso/Skills-4-SE --skill code-comment-generator -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/code-comment-generator .github/skills/code-comment-generator && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "code-comment-generator" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/code-comment-generator into .github/skills/code-comment-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-comment-generator", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ArabelaTso/Skills-4-SE --skill code-comment-generator -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ArabelaTso/Skills-4-SE code-comment-generator --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/code-comment-generator .opencode/skills/code-comment-generator && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "code-comment-generator" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/code-comment-generator into .opencode/skills/code-comment-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-comment-generator", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
code-comment-generatorGenerates meaningful comments and documentation for code to improve maintenance and readability.
Code Comment Generator is an agent skill from ArabelaTso/Skills-4-SE. Generates meaningful comments and documentation for code to improve maintenance and readability. Use when adding documentation to Python or Java code, including function/method docstrings, class documentation, inline explanations for complex logic, and code annotations (TODO, FIXME). Analyzes existing comment style in the codebase to match conventions. Produces clear, concise comments that explain the "why" not just the "what", following best practices for each language.
Its SKILL.md is about 4.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/comment_examples.md` and `references/style_guides.md`).
It sits in Development, covering Technical documentation and Plain language and style rules. It works with Java and Python. The repository describes itself as: A curated list of 180+ useful Claude Skills for Software Engineering and resources for customizing AI for SE workflows. The licence is Apache-2.0.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 4f38503. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python and java).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Code Comment Generator loads about 4.6k tokens when it runs, and up to ~14k if it reads all its reference files. Until then it costs about 125 tokens; SKILL.md has 551 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ArabelaTso/Skills-4-SE at commit 4f38503, republished under its Apache-2.0 licence (© ArabelaTso). 551 words, ~4,587 tokens.
.claude/skills/code-comment-generator/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Generate meaningful, maintainable comments and documentation for your code.
This skill helps you create effective code documentation by:
Before generating comments, examine the codebase to match style:
Look for:
Python Example - Analyze Existing Style:
# If existing code uses this pattern:
def get_user(user_id: int) -> User:
"""
Retrieve user by ID.
Args:
user_id: Unique identifier for the user
Returns:
User object if found
Raises:
UserNotFoundError: If user doesn't exist
"""
return db.query(User).get(user_id)Style Identified:
Java Example - Analyze Existing Style:
// If existing code uses this pattern:
/**
* Retrieves a user by their unique identifier.
*
* @param userId the unique identifier for the user
* @return the User object if found
* @throws UserNotFoundException if no user exists with the given ID
*/
public User getUser(int userId) throws UserNotFoundException {
return database.findUser(userId);
}Style Identified:
Analyze the code to understand what to document:
For Functions/Methods:
For Classes:
For Complex Logic:
Generate documentation that explains purpose and usage.
Python Example:
# Before (no comments)
def calculate_shipping_cost(items, destination, method):
base = sum(item.weight * 0.5 for item in items)
if destination.international:
base *= 1.5
if method == 'express':
base *= 2
return base + 5
# After (with documentation)
def calculate_shipping_cost(items: List[Item], destination: Address, method: str) -> float:
"""
Calculate total shipping cost based on items, destination, and shipping method.
The base cost is calculated from item weights ($0.50 per unit). International
shipping adds a 50% surcharge, and express shipping doubles the cost. A flat
$5 handling fee is added to all orders.
Args:
items: List of items to ship, each with a weight attribute
destination: Shipping address with international flag
method: Shipping method ('standard' or 'express')
Returns:
Total shipping cost in USD
Example:
>>> items = [Item(weight=2), Item(weight=3)]
>>> addr = Address(country='USA', international=False)
>>> calculate_shipping_cost(items, addr, 'standard')
7.5
"""
# Calculate base cost from item weights
base = sum(item.weight * 0.5 for item in items)
# Apply international surcharge if applicable
if destination.international:
base *= 1.5
# Double cost for express shipping
if method == 'express':
base *= 2
# Add handling fee
return base + 5Java Example:
// Before (no comments)
public double calculateShippingCost(List<Item> items, Address destination, String method) {
double base = items.stream()
.mapToDouble(item -> item.getWeight() * 0.5)
.sum();
if (destination.isInternational()) {
base *= 1.5;
}
if ("express".equals(method)) {
base *= 2;
}
return base + 5;
}
// After (with documentation)
/**
* Calculates the total shipping cost based on items, destination, and shipping method.
*
* <p>The base cost is calculated from item weights ($0.50 per unit). International
* shipping adds a 50% surcharge, and express shipping doubles the cost. A flat
* $5 handling fee is added to all orders.
*
* @param items the list of items to ship, each with a weight
* @param destination the shipping address with international flag
* @param method the shipping method ("standard" or "express")
* @return the total shipping cost in USD
* @throws IllegalArgumentException if method is not "standard" or "express"
*/
public double calculateShippingCost(List<Item> items, Address destination, String method) {
// Calculate base cost from item weights ($0.50 per unit)
double base = items.stream()
.mapToDouble(item -> item.getWeight() * 0.5)
.sum();
// Apply 50% surcharge for international shipping
if (destination.isInternational()) {
base *= 1.5;
}
// Double the cost for express shipping
if ("express".equals(method)) {
base *= 2;
}
// Add $5 handling fee
return base + 5;
}Add comments for complex or non-obvious code sections.
When to Add Inline Comments:
When NOT to Add Inline Comments:
// increment counter for i++)Python Example:
def find_median(numbers):
"""Find the median value in a list of numbers."""
# Sort is required for median calculation - O(n log n)
sorted_nums = sorted(numbers)
n = len(sorted_nums)
# For even-length lists, median is average of two middle elements
if n % 2 == 0:
mid1 = sorted_nums[n // 2 - 1]
mid2 = sorted_nums[n // 2]
return (mid1 + mid2) / 2
# For odd-length lists, median is the middle element
else:
return sorted_nums[n // 2]
def validate_email(email):
"""Validate email format using RFC 5322 simplified pattern."""
# Regex breakdown:
# ^[a-zA-Z0-9._%+-]+ - local part (before @)
# @ - literal @ symbol
# [a-zA-Z0-9.-]+ - domain name
# \.[a-zA-Z]{2,}$ - top-level domain (at least 2 chars)
pattern = r'^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$'
return re.match(pattern, email) is not None
def calculate_discount(price, quantity):
"""Calculate bulk discount for quantity purchases."""
# Bulk discount tiers (from business requirements doc v3.2)
# 10+ items: 5% off
# 50+ items: 10% off
# 100+ items: 15% off
if quantity >= 100:
discount = 0.15
elif quantity >= 50:
discount = 0.10
elif quantity >= 10:
discount = 0.05
else:
discount = 0
return price * quantity * (1 - discount)Java Example:
public int findMedian(int[] numbers) {
// Sort array in-place - required for median calculation
Arrays.sort(numbers);
int n = numbers.length;
// For even-length arrays, return average of two middle elements
if (n % 2 == 0) {
return (numbers[n/2 - 1] + numbers[n/2]) / 2;
}
// For odd-length arrays, return middle element
return numbers[n/2];
}
public boolean validateEmail(String email) {
// Use RFC 5322 simplified pattern for email validation
// Pattern breakdown:
// ^[\\w.%-]+ - local part (letters, digits, dots, %, -)
// @ - literal @ symbol
// [\\w.-]+ - domain name
// \\.[a-zA-Z]{2,}$ - TLD (minimum 2 characters)
String pattern = "^[\\w.%-]+@[\\w.-]+\\.[a-zA-Z]{2,}$";
return email.matches(pattern);
}
public double calculateDiscount(double price, int quantity) {
double discount;
// Bulk discount tiers (from business requirements doc v3.2)
// These thresholds were set by the sales team in Q4 2023
if (quantity >= 100) {
discount = 0.15; // 15% off for 100+ items
} else if (quantity >= 50) {
discount = 0.10; // 10% off for 50-99 items
} else if (quantity >= 10) {
discount = 0.05; // 5% off for 10-49 items
} else {
discount = 0; // No discount for less than 10
}
return price * quantity * (1 - discount);
}Provide high-level documentation for classes and modules.
Python Example:
class ShoppingCart:
"""
Shopping cart for e-commerce checkout process.
Manages items, quantities, and pricing calculations. Supports discount
codes, tax calculation, and shipping cost estimation. Cart state is
persisted to the session.
Attributes:
items: Dictionary mapping product IDs to CartItem objects
discount_code: Optional discount code applied to cart
user_id: ID of the user who owns this cart
Example:
>>> cart = ShoppingCart(user_id=123)
>>> cart.add_item(product_id=456, quantity=2)
>>> cart.apply_discount("SAVE10")
>>> cart.get_total()
89.99
"""
def __init__(self, user_id: int):
"""
Initialize a new shopping cart for a user.
Args:
user_id: The ID of the user who owns this cart
"""
self.items = {}
self.discount_code = None
self.user_id = user_idJava Example:
/**
* Shopping cart for e-commerce checkout process.
*
* <p>Manages items, quantities, and pricing calculations. Supports discount
* codes, tax calculation, and shipping cost estimation. Cart state can be
* persisted to the database.
*
* <p>This class is thread-safe for concurrent access by multiple requests
* from the same user session.
*
* <h3>Usage Example:</h3>
* <pre>{@code
* ShoppingCart cart = new ShoppingCart(userId);
* cart.addItem(productId, 2);
* cart.applyDiscount("SAVE10");
* double total = cart.getTotal();
* }</pre>
*
* @author Engineering Team
* @since 2.0
* @see Order
* @see CartItem
*/
public class ShoppingCart {
private Map<Integer, CartItem> items;
private String discountCode;
private int userId;
/**
* Constructs a new shopping cart for the specified user.
*
* @param userId the ID of the user who owns this cart
*/
public ShoppingCart(int userId) {
this.items = new HashMap<>();
this.userId = userId;
}
}Insert markers for future work, issues, and optimizations.
Common Annotations:
# TODO: Add validation for negative quantities
def add_item(self, product_id, quantity):
self.items[product_id] = quantity
# FIXME: This breaks when user is None - needs null check
def get_user_email(self, user):
return user.email
# HACK: Workaround for database connection pool bug (#1234)
# Remove when upgrading to DB driver v2.0
def get_connection():
time.sleep(0.1) # Give pool time to refresh
return pool.get_connection()
# OPTIMIZE: Consider caching this result - called frequently
def calculate_complex_metric(self):
return sum(expensive_operation(x) for x in self.data)
# NOTE: This threshold was determined through A/B testing (see doc/experiments/cart-threshold.md)
MIN_ORDER_VALUE = 25.00
# DEPRECATED: Use get_user_by_id() instead - will be removed in v3.0
def fetch_user(self, user_id):
warnings.warn("fetch_user is deprecated", DeprecationWarning)
return self.get_user_by_id(user_id)Java Example:
// TODO: Add validation for null products
public void addItem(Product product, int quantity) {
items.put(product.getId(), new CartItem(product, quantity));
}
// FIXME: Throws NullPointerException when user has no email set
// See issue #456
public String getUserEmail(User user) {
return user.getEmail();
}
// HACK: Workaround for connection pool bug in DB driver v1.5
// Remove this sleep when we upgrade to v2.0
private Connection getConnection() throws SQLException {
Thread.sleep(100); // Give pool time to refresh
return pool.getConnection();
}
// OPTIMIZE: Cache this calculation - it's expensive and called frequently
// Consider memoization or storing result in database
private double calculateComplexMetric() {
return data.stream()
.map(this::expensiveOperation)
.reduce(0.0, Double::sum);
}
/**
* @deprecated Use {@link #getUserById(int)} instead. This method will be
* removed in version 3.0.
*/
@Deprecated
public User fetchUser(int userId) {
return getUserById(userId);
}# Bad - states the obvious
# Loop through users
for user in users:
send_email(user)
# Good - explains the reason
# Send reminder emails to users who haven't logged in within 30 days
for user in inactive_users:
send_reminder_email(user)# Bad - no context
MAX_RETRIES = 3
# Good - explains the reasoning
# Retry up to 3 times to handle transient network errors
# Based on 99.9% success rate observed in production logs
MAX_RETRIES = 3# Good - documents assumptions
def process_payment(amount):
"""
Process payment transaction.
Assumes:
- Amount is in USD
- User has already been authenticated
- Payment method has been validated
"""# Bad - comment adds no value
# Increment counter
counter += 1
# Set name to "Alice"
name = "Alice"
# Return true
return True# Bad - comment doesn't match code
# Return the user's age
return user.birth_date # Oops, this returns birth_date not age!
# Good - keep comments in sync with code
# Return the user's birth date
return user.birth_date# Bad - explaining messy code
# This is complicated because we need to handle edge cases
if (x > 0 and y < 10 and (z == 5 or z == 7) and not flag) or (x < 0 and special):
do_something()
# Good - refactor and simplify
def should_do_something(x, y, z, flag, special):
"""Check if conditions are met to perform action."""
normal_case = x > 0 and y < 10 and z in [5, 7] and not flag
special_case = x < 0 and special
return normal_case or special_case
if should_do_something(x, y, z, flag, special):
do_something()Docstring Format: Use Google-style or NumPy-style docstrings
def function(arg1: str, arg2: int) -> bool:
"""
Brief one-line summary.
More detailed explanation if needed. Can span multiple
lines and paragraphs.
Args:
arg1: Description of arg1
arg2: Description of arg2
Returns:
Description of return value
Raises:
ValueError: When invalid input provided
Example:
>>> function("test", 42)
True
"""Use Type Hints: Reduce need for comments
# Less clear - needs comment
def get_users(active):
"""Get users. active parameter filters active users."""
# More clear - type hints make it obvious
def get_users(active: bool) -> List[User]:
"""Get all users, optionally filtered by active status."""Javadoc Format: Standard tags
/**
* Brief one-line summary.
*
* <p>More detailed explanation if needed. Use paragraph tags
* for multi-paragraph descriptions.
*
* @param arg1 description of arg1
* @param arg2 description of arg2
* @return description of return value
* @throws IllegalArgumentException when invalid input provided
* @see RelatedClass
* @since 1.5
*/Use @see and @link:
/**
* Processes the order and updates inventory.
*
* @param order the order to process
* @return the processed order
* @see Order
* @see InventoryService#updateStock(int, int)
*/references/comment_examples.md - Comprehensive examples of well-commented code for various scenarios (algorithms, API clients, data processing, etc.)references/style_guides.md - Language-specific comment style guides and conventions© ArabelaTso, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in skills/code-comment-generator of ArabelaTso/Skills-4-SE.
Open the folder on GitHubat commit 4f38503
Code Comment Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Code Comment Generator this skillArabelaTso/Skills-4-SE | 253 | — | ~4.6k | Automated safety check: Pass | Apache-2.0 | |
| Mkdocsjeka-dev/jeka | 176 | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Commenting C And Pythonmicrosoft/bocpy | 200 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Lc Javayennanliu/CS_basics | 142 | — | ~5.2k | Automated safety check: Notes | None | |
| Lc Pythonyennanliu/CS_basics | 142 | — | ~4.4k | Automated safety check: Notes | None | |
| Python Style Guideaiskillstore/marketplace | 430 | — | ~2.8k | Automated safety check: Pass | Custom licence |
jeka-dev/jeka
MkDocs documentation project reference covering CLI commands, mkdocs.yml configuration, Material theme setup, and plugin integration.
microsoft/bocpy
Follow bocpy commenting and documentation conventions. An agent skill from microsoft/bocpy.
yennanliu/CS_basics
File a LeetCode Java solution into this repo the way the existing ones are filed — put it in the package its pattern owns, write the file-level javadoc header (<number.
yennanliu/CS_basics
File a LeetCode Python solution into this repo the way the existing ones are filed — find the problem's real slug, write the Python file in the house layout (problem docstring, V0 with an IDEA block…
aiskillstore/marketplace
Comprehensive Python programming guidelines based on Google's Python Style Guide.
google/adk-python
Creates a new sample agent in the ADK Python repository — the sample directory, its agent.py, and its README.md — following the conventions the existing samples already use.
ArabelaTso/Skills-4-SE
Generate prioritized CVE watchlists and actionable security recommendations for repositories.
ArabelaTso/Skills-4-SE
Automatically migrate Python web applications between frameworks (Flask → FastAPI, Django → FastAPI).
ArabelaTso/Skills-4-SE
Generate test cases using metamorphic testing by applying transformations based on metamorphic properties.
ArabelaTso/Skills-4-SE
Instruments programs to capture execution traces specifically for reproducing reported bugs, enabling consistent replay and diagnosis of failures.
ArabelaTso/Skills-4-SE
Automatically migrate Spring MVC applications to Spring Boot.
ArabelaTso/Skills-4-SE
Instrument programs (Python, C/C++, Java) to capture snapshots of key program states at runtime, including variables, memory, and call stacks.
Categories
Generates meaningful comments and documentation for code to improve maintenance and readability. Code Comment Generator is an agent skill from ArabelaTso/Skills-4-SE. Generates meaningful comments and documentation for code to improve maintenance and readability.
Code Comment Generator fits situations like: adding documentation to Python; including function/method docstrings; class documentation; inline explanations for complex logic.
Run `npx skills add ArabelaTso/Skills-4-SE --skill code-comment-generator -a claude-code`. Or copy the skill folder (skills/code-comment-generator in ArabelaTso/Skills-4-SE) into .claude/skills/code-comment-generator in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ArabelaTso/Skills-4-SE --skill code-comment-generator -a codex`. Or copy the skill folder (skills/code-comment-generator in ArabelaTso/Skills-4-SE) into .agents/skills/code-comment-generator in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ArabelaTso/Skills-4-SE --skill code-comment-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-comment-generator, .gemini/skills/code-comment-generator, .github/skills/code-comment-generator and .opencode/skills/code-comment-generator in your project.
SKILL.md names no scripts, command-line tools or credentials: Code Comment Generator is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Code Comment Generator is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.6k tokens (SKILL.md is roughly 18k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 9.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Code Comment Generator: Mkdocs (jeka-dev/jeka, 176 stars), Commenting C And Python (microsoft/bocpy, 200 stars), Lc Java (yennanliu/CS_basics, 142 stars) and Lc Python (yennanliu/CS_basics, 142 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ArabelaTso (a GitHub user) maintains it in ArabelaTso/Skills-4-SE, which has 253 GitHub stars. The repository holds 151 skills in this directory. The repository was last updated on August 21, 2026.
Source: ArabelaTso/Skills-4-SE on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.