# Apply Consistent Coding Style

Inconsistent code slows reviews and makes maintenance harder. This skill gives Claude, Codex, and Claude Code clear rules for readable, consistent code.

## Install

```bash
npx skillstore add eis-its/global-coding-style
```

## Metadata

- Status: approved
- Slug: eis-its-global-coding-style
- Skillstore revision: r1
- Version status: missing
- Tree hash: f74074d5a6658b70749831ea1b64b488990bb6d4796c7eb735aa1c6f61efd72c
- Author: EIS-ITS
- GitHub username: EIS-ITS
- License: MIT
- Repository: https://github.com/EIS-ITS/vss-cli/tree/main/.claude/skills/global-coding-style
- Ref: 72d5025b022c77f7a51bdf5c1637c689c80e89d1
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: filesystem
- Quality score: 79
- Quality tier: bronze
- Public page: https://skillstore.pages.dev/skills/eis-its-global-coding-style
- Manifest: https://skillstore.pages.dev/api/skills/eis-its-global-coding-style/manifest

## Capabilities

- Guides naming for variables, functions, classes, and files.
- Encourages small, focused functions and methods.
- Promotes removal of dead code, unused imports, and commented blocks.
- Applies DRY principles to reduce unnecessary duplication.
- Supports style review across Python, JavaScript, TypeScript, Ruby, Java, and Go.

## Use Cases

- Prepare Code for Review: Clean naming, formatting, and structure before opening a pull request.
- Standardize Team Contributions: Apply shared readability rules across files written by different contributors.
- Guide AI Code Generation: Keep AI-generated changes consistent with practical maintainability expectations.

## Prompt Templates

### Review Naming

```
Review the selected file for unclear variable, function, class, and file names. Suggest clearer names with brief reasons.
```

### Improve Readability

```
Refactor this code for readability. Keep behavior unchanged, remove dead code, and make functions easier to understand.
```

### Reduce Duplication

```
Find repeated logic in these files. Propose focused helpers or structure changes that reduce duplication without hiding intent.
```

### Audit Style Consistency

```
Audit this module for global coding style consistency. Cover naming, function size, formatting assumptions, duplication, dead code, and maintainability risks.
```

## Limitations

- Does not provide language-specific formatter configuration files.
- Does not replace project-specific style guides or team review rules.
- Does not automatically run linters, tests, or formatters.
- The detailed referenced standard may be unavailable outside the source repository.

## Best Practices

- Provide project context before asking for style guidance.
- Ask for behavior-preserving changes when refactoring existing code.
- Run project tests and formatters after applying suggested edits.

## Anti Patterns

- Do not rename public APIs without checking compatibility requirements.
- Do not extract helpers that make simple logic harder to read.
- Do not treat general style guidance as a replacement for project standards.

## Security Audit

- Audited at: 2026-07-06T12:09:23.973\+00:00
- Summary: The only static finding is a parent-directory sequence in a Markdown link in SKILL.md. I judged it a false positive because it is a fixed documentation reference, not executable filesystem access or a user-controlled path. No prompt injection, exfiltration intent, or business-logic abuse was found in the scanned file.

## Stats

- Views: 249
- Downloads: 21
- Favorites: 0
- Popularity score: 0
