Skip to content

Commit a3b6eab

Browse files
authored
Merge pull request #33 from Jamkris/feat/sync-from-claude-code
Feat/sync from claude code
2 parents 1e37694 + 8b17402 commit a3b6eab

334 files changed

Lines changed: 31149 additions & 528 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gemini-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "everything-gemini-code",
3-
"version": "1.2.3",
3+
"version": "1.3.0",
44
"description": "Complete collection of battle-tested Gemini CLI configurations - agents, skills, hooks, and rules evolved over 10+ months of intensive daily use",
55
"author": {
66
"name": "Jamkris",

CODE_OF_CONDUCT.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, gender identity and expression, level of experience,
9+
education, socio-economic status, nationality, personal appearance, race,
10+
religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
- Using welcoming and inclusive language
18+
- Being respectful of differing viewpoints and experiences
19+
- Gracefully accepting constructive criticism
20+
- Focusing on what is best for the community
21+
- Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
- Trolling, insulting/derogatory comments, and personal or political attacks
28+
- Public or private harassment
29+
- Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
- Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at <contact@jamkris.com>. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at <https://www.contributor-covenant.org/version/1/4/code-of-conduct.html>
72+
73+
[homepage]: https://www.contributor-covenant.org
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Contributing Guide
22

3-
**Language:** **English** | [한국어](../../ko-KR/contributing/README.md)
3+
**Language:** **English** | [한국어](docs/ko-KR/contributing/README.md)
44

55
Thank you for your interest in contributing to Everything Gemini Code!
66

77
## Related Documents
88

9-
- [Command-Agent Map](COMMAND-AGENT-MAP.md) — Which agents are invoked by each command
10-
- [Skill Placement Policy](SKILL-PLACEMENT-POLICY.md) — Where skills belong and how they are identified
11-
- [Token Optimization](token-optimization.md) — Managing token consumption
12-
- [Verification Guide](VERIFICATION_GUIDE.md) — Verifying extension installation
13-
- [Terminology](TERMINOLOGY.md) — Core project terminology
9+
- [Command-Agent Map](docs/en/contributing/COMMAND-AGENT-MAP.md) — Which agents are invoked by each command
10+
- [Skill Placement Policy](docs/en/contributing/SKILL-PLACEMENT-POLICY.md) — Where skills belong and how they are identified
11+
- [Token Optimization](docs/en/contributing/token-optimization.md) — Managing token consumption
12+
- [Verification Guide](docs/en/contributing/VERIFICATION_GUIDE.md) — Verifying extension installation
13+
- [Terminology](docs/en/contributing/TERMINOLOGY.md) — Core project terminology
1414

1515
---
1616

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
**Language:** **English** | [한국어](docs/ko-KR/README.md) | [简体中文](docs/zh-CN/README.md)
22

3+
> **Attribution:** This project was built by migrating [Everything Claude Code](https://github.com/affaan-m/everything-claude-code) by [@affaan-m](https://github.com/affaan-m) to the Gemini CLI ecosystem. Huge thanks for the original work.
4+
35
# Everything Gemini Code
46

57
[![Stars](https://img.shields.io/github/stars/Jamkris/everything-gemini-code?style=flat)](https://github.com/Jamkris/everything-gemini-code/stargazers)
@@ -189,7 +191,7 @@ rm -rf ~/.gemini/skills/* ~/.gemini/commands/*
189191

190192
## 🤝 Contributing
191193

192-
**Contributions are welcome!** See the [Contributing Guide](docs/en/contributing/README.md).
194+
**Contributions are welcome!** See the [Contributing Guide](CONTRIBUTING.md).
193195

194196
If you have useful agents, skills, or configurations, please submit a Pull Request.
195197

SECURITY.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
| Version | Supported |
6+
| ------- | ------------------ |
7+
| 1.2.x | :white_check_mark: |
8+
| 1.1.x | :white_check_mark: |
9+
| < 1.1 | :x: |
10+
11+
## Reporting a Vulnerability
12+
13+
If you discover a security vulnerability in Everything Gemini Code, please report it responsibly.
14+
15+
**Do not open a public GitHub issue for security vulnerabilities.**
16+
17+
Instead, email **<security@egc.tools>** with:
18+
19+
- A description of the vulnerability
20+
- Steps to reproduce
21+
- The affected version(s)
22+
- Any potential impact assessment
23+
24+
You can expect:
25+
26+
- **Acknowledgment** within 48 hours
27+
- **Status update** within 7 days
28+
- **Fix or mitigation** within 30 days for critical issues
29+
30+
If the vulnerability is accepted, we will:
31+
32+
- Credit you in the release notes (unless you prefer anonymity)
33+
- Fix the issue in a timely manner
34+
- Coordinate disclosure timing with you
35+
36+
If the vulnerability is declined, we will explain why and provide guidance on whether it should be reported elsewhere.
37+
38+
## Scope
39+
40+
This policy covers:
41+
42+
- The EGC extension and all scripts in this repository
43+
- Hook scripts that execute on your machine
44+
- Install/uninstall lifecycle scripts
45+
- MCP configurations shipped with EGC
46+
- Command, skill, and agent definitions
47+
48+
## Security Resources
49+
50+
- **OWASP MCP Top 10**: [owasp.org/www-project-mcp-top-10](https://owasp.org/www-project-mcp-top-10/)
51+
- **OWASP Agentic Applications Top 10**: [genai.owasp.org](https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications-for-2026/)

agents/chief-of-staff.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,20 +131,20 @@ This checklist is enforced by a `PostToolUse` hook that blocks completion until
131131
- **Hooks over prompts for reliability**: LLMs forget instructions ~20% of the time. `PostToolUse` hooks enforce checklists at the tool level — the LLM physically cannot skip them.
132132
- **Scripts for deterministic logic**: Calendar math, timezone handling, free-slot calculation — use `calendar-suggest.js`, not the LLM.
133133
- **Knowledge files are memory**: `relationships.md`, `preferences.md`, `todo.md` persist across stateless sessions via git.
134-
- **Rules are system-injected**: `.claude/rules/*.md` files load automatically every session. Unlike prompt instructions, the LLM cannot choose to ignore them.
134+
- **Rules are system-injected**: `.gemini/rules/*.md` files load automatically every session. Unlike prompt instructions, the LLM cannot choose to ignore them.
135135

136136
## Example Invocations
137137

138138
```bash
139-
claude /mail # Email-only triage
140-
claude /slack # Slack-only triage
141-
claude /today # All channels + calendar + todo
142-
claude /schedule-reply "Reply to Sarah about the board meeting"
139+
gemini /mail # Email-only triage
140+
gemini /slack # Slack-only triage
141+
gemini /today # All channels + calendar + todo
142+
gemini /schedule-reply "Reply to Sarah about the board meeting"
143143
```
144144

145145
## Prerequisites
146146

147-
- [Gemini CLI](https://docs.anthropic.com/en/docs/claude-code)
147+
- [Gemini CLI](https://ai.google.dev/gemini-api/docs/cli)
148148
- Gmail CLI (e.g., gog by @pterm)
149149
- Node.js 18+ (for calendar-suggest.js)
150150
- Optional: Slack MCP server, Matrix bridge (LINE), Chrome + Playwright (Messenger)

agents/code-architect.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
name: code-architect
3+
description: Designs feature architectures by analyzing existing codebase patterns and conventions, then providing implementation blueprints with concrete files, interfaces, data flow, and build order.
4+
tools: [read_file, search_files, list_directory, run_shell_command]
5+
---
6+
7+
# Code Architect Agent
8+
9+
You design feature architectures based on a deep understanding of the existing codebase.
10+
11+
## Process
12+
13+
### 1. Pattern Analysis
14+
15+
- study existing code organization and naming conventions
16+
- identify architectural patterns already in use
17+
- note testing patterns and existing boundaries
18+
- understand the dependency graph before proposing new abstractions
19+
20+
### 2. Architecture Design
21+
22+
- design the feature to fit naturally into current patterns
23+
- choose the simplest architecture that meets the requirement
24+
- avoid speculative abstractions unless the repo already uses them
25+
26+
### 3. Implementation Blueprint
27+
28+
For each important component, provide:
29+
30+
- file path
31+
- purpose
32+
- key interfaces
33+
- dependencies
34+
- data flow role
35+
36+
### 4. Build Sequence
37+
38+
Order the implementation by dependency:
39+
40+
1. types and interfaces
41+
2. core logic
42+
3. integration layer
43+
4. UI
44+
5. tests
45+
6. docs
46+
47+
## Output Format
48+
49+
```markdown
50+
## Architecture: [Feature Name]
51+
52+
### Design Decisions
53+
- Decision 1: [Rationale]
54+
- Decision 2: [Rationale]
55+
56+
### Files to Create
57+
| File | Purpose | Priority |
58+
|------|---------|----------|
59+
60+
### Files to Modify
61+
| File | Changes | Priority |
62+
|------|---------|----------|
63+
64+
### Data Flow
65+
[Description]
66+
67+
### Build Sequence
68+
1. Step 1
69+
2. Step 2
70+
```

agents/code-explorer.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
name: code-explorer
3+
description: Deeply analyzes existing codebase features by tracing execution paths, mapping architecture layers, and documenting dependencies to inform new development.
4+
tools: [read_file, search_files, list_directory, run_shell_command]
5+
---
6+
7+
# Code Explorer Agent
8+
9+
You deeply analyze codebases to understand how existing features work before new work begins.
10+
11+
## Analysis Process
12+
13+
### 1. Entry Point Discovery
14+
15+
- find the main entry points for the feature or area
16+
- trace from user action or external trigger through the stack
17+
18+
### 2. Execution Path Tracing
19+
20+
- follow the call chain from entry to completion
21+
- note branching logic and async boundaries
22+
- map data transformations and error paths
23+
24+
### 3. Architecture Layer Mapping
25+
26+
- identify which layers the code touches
27+
- understand how those layers communicate
28+
- note reusable boundaries and anti-patterns
29+
30+
### 4. Pattern Recognition
31+
32+
- identify the patterns and abstractions already in use
33+
- note naming conventions and code organization principles
34+
35+
### 5. Dependency Documentation
36+
37+
- map external libraries and services
38+
- map internal module dependencies
39+
- identify shared utilities worth reusing
40+
41+
## Output Format
42+
43+
```markdown
44+
## Exploration: [Feature/Area Name]
45+
46+
### Entry Points
47+
- [Entry point]: [How it is triggered]
48+
49+
### Execution Flow
50+
1. [Step]
51+
2. [Step]
52+
53+
### Architecture Insights
54+
- [Pattern]: [Where and why it is used]
55+
56+
### Key Files
57+
| File | Role | Importance |
58+
|------|------|------------|
59+
60+
### Dependencies
61+
- External: [...]
62+
- Internal: [...]
63+
64+
### Recommendations for New Development
65+
- Follow [...]
66+
- Reuse [...]
67+
- Avoid [...]
68+
```

agents/code-simplifier.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
name: code-simplifier
3+
description: Simplifies and refines code for clarity, consistency, and maintainability while preserving behavior. Focus on recently modified code unless instructed otherwise.
4+
tools: [read_file, write_file, replace_in_file, run_shell_command, search_files, list_directory]
5+
---
6+
7+
# Code Simplifier Agent
8+
9+
You simplify code while preserving functionality.
10+
11+
## Principles
12+
13+
1. clarity over cleverness
14+
2. consistency with existing repo style
15+
3. preserve behavior exactly
16+
4. simplify only where the result is demonstrably easier to maintain
17+
18+
## Simplification Targets
19+
20+
### Structure
21+
22+
- extract deeply nested logic into named functions
23+
- replace complex conditionals with early returns where clearer
24+
- simplify callback chains with `async` / `await`
25+
- remove dead code and unused imports
26+
27+
### Readability
28+
29+
- prefer descriptive names
30+
- avoid nested ternaries
31+
- break long chains into intermediate variables when it improves clarity
32+
- use destructuring when it clarifies access
33+
34+
### Quality
35+
36+
- remove stray `console.log`
37+
- remove commented-out code
38+
- consolidate duplicated logic
39+
- unwind over-abstracted single-use helpers
40+
41+
## Approach
42+
43+
1. read the changed files
44+
2. identify simplification opportunities
45+
3. apply only functionally equivalent changes
46+
4. verify no behavioral change was introduced

0 commit comments

Comments
 (0)