code-follower

Analyzes existing code patterns to align new code with project conventions.

1|Updated Sep 12, 2025
One-click install
npx skills add https://github.com/JimmyTranDev/dotfiles --skill code-follower
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-follower
Source: https://github.com/JimmyTranDev/dotfiles/tree/main/src/opencode/skills/code-follower
Command: npx skills add https://github.com/JimmyTranDev/dotfiles --skill code-follower

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides how to learn and replicate the coding patterns, naming conventions, and project structures used in an existing codebase to ensure new contributions align with established style.

Core Features & Use Cases

  • Learn and copy existing patterns precisely
  • Analyze naming conventions, imports, components, and error handling
  • Ensure consistency across modules in onboarding and refactoring tasks

Quick Start

Identify an existing module and reproduce its naming, structure, and export style in a new file.

Frequently Asked Questions about code-follower

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

FAQPage Schema
How do I make new code match existing code conventions during onboarding?

To align code style, analyze an existing module to learn its naming, imports, structure, and error handling, then copy those exact patterns into your new code. This ensures consistency during onboarding and refactoring.

What is the best way to ensure consistent code style across modules with varied patterns?

Consistent code style across modules is achieved by analyzing existing patterns and copying exact naming, import, and export conventions. This guides refactoring tasks to ensure all modules feel written by the same author.

How do I analyze and replicate naming conventions and imports in an existing codebase?

Analyze naming conventions and imports by examining an established module, then replicate that exact structure and export style in new files. This pattern-learning approach ensures new code aligns with the existing codebase.

Can I validate new code against existing examples before a merge?

Yes, you can validate new code against existing examples before merge by learning the established conventions and copying exact patterns. This ensures your naming, structure, and imports satisfy project consistency requirements.

When do I need to align code style for refactoring tasks?

You need to align code style for refactoring tasks when a codebase has varied patterns and you must ensure consistency. Guide naming, imports, structure, and exports by learning existing conventions and reproducing them exactly.