api-and-interface-desi…
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints,…
Comprehensive workflow for contributing to open-source projects with quality checks
$ npx -y skills add kevinnft/ai-agent-skills --skill open-source-contribution --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/open-source-contributionContext preview
The summary Claude sees to decide when to auto-load this skill.
Comprehensive workflow for contributing to open-source projects with quality checks
name: open-source-contribution
description: Comprehensive workflow for contributing to open-source projects with quality checks
version: 1.0.0
author: Hermes Agent
license: MIT
metadata:
hermes:
tags: [GitHub, Open-Source, Quality, TypeScript, Contribution]
related_skills: [github-pr-workflow, github-code-review]
origin: original
source_repo: kevinnft/ai-agent-skills
source_url: https://github.com/kevinnft/ai-agent-skills
source_license: MIT
language: enComplete workflow for contributing high-quality PRs to open-source projects.
**When user says "langsung gas dan maksimalkan" or "contribusi maksimal" or "bantu dia jadi terbaik":**
**Before forking, understand what's missing:**
# Clone to analyze git clone https://github.com/owner/repo.git cd repo # Check structure ls -la find src -name "*.tsx" | head -20 # Check existing features grep -r "TODO\|FIXME" src/ # Check open issues/PRs gh issue list --repo owner/repo gh pr list --repo owner/repo
**Compare with competitors:**
**Prioritize by impact:**
# Fork via GitHub CLI gh repo fork owner/repo --remote # Or manually fork on GitHub, then: git clone https://github.com/YOUR_USERNAME/repo.git cd repo git remote add upstream https://github.com/owner/repo.git
**Always star before contributing:**
# Check if already starred gh repo view owner/repo --json viewerHasStarred # Star the repo gh api --method PUT /user/starred/owner/repo
gh pr list --repo owner/repo --json number,title,author
git checkout main git pull upstream main git checkout -b feat/your-feature-name
Use file tools (`write_file`, `patch`) to implement features.
# Type check (fast, low memory) npx tsc --noEmit # Common errors to fix: # - TS6133: Unused variable/import/parameter # - TS2304: Cannot find name # - TS2345: Type mismatch
**Fix unused variables:**
// ❌ Bad
const { data, error } = useQuery(); // error unused
return <div>{data}</div>;
// ✅ Good
const { data } = useQuery();
return <div>{data}</div>;**Fix unused imports:**
// ❌ Bad
import { useState, useEffect } from 'react'; // useEffect unused
// ✅ Good
import { useState } from 'react';**Fix unused parameters:**
// ❌ Bad
items.map((item, idx) => <div key={item.id}>{item.name}</div>); // idx unused
// ✅ Good
items.map((item) => <div key={item.id}>{item.name}</div>);mypy src/ ruff check .
cargo clippy -- -D warnings cargo fmt --check
git add . git commit -m "feat(scope): add feature - Detailed change 1 - Detailed change 2 - Detailed change 3 Closes #issue_number"
**Commit types:**
git push -u origin feat/your-feature-name gh pr create --repo owner/repo \ --title "feat: Add Feature Name" \ --body "## Overview Comprehensive description of changes. ## Features - Feature 1 - Feature 2 ## Testing - Test approach See docs/FEATURE.md for details."
If CI fails with TypeScript errors:
# Check errors npx tsc --noEmit # Fix errors (use patch/write_file) # Commit fix git add . git commit -m "fix: remove unused variables (TypeScript errors)" git push
**When building comprehensive features (user says "gas semua" or "maksimalkan"):**
**Phase 1: Quick Wins (1-2 hours each)**
**Phase 2: Core Features (2-4 hours each)**
**Phase 3: Advanced Features (4-6 hours each)**
1. **Group related features** in
191 attribution-first agent skills for Hermes Agent, Claude Code, Cursor — one installer, 28 categories, searchable catalog. See NOTICE for upstream attribution.
Repo: kevinnft/ai-agent-skills
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints,…
Tests in real browsers. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze…
Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test…
Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to…
Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend…
Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure…