Skip to content

chore: add AI agent context structure#2967

Open
umaucher wants to merge 3 commits into
eclipse-score:mainfrom
umaucher:feat/agent-context-setup
Open

chore: add AI agent context structure#2967
umaucher wants to merge 3 commits into
eclipse-score:mainfrom
umaucher:feat/agent-context-setup

Conversation

@umaucher

Copy link
Copy Markdown
Contributor

Establishes the base structure for AI agent context across eclipse-score repos.

Changes

  • AGENTS.md — org-wide entry point recognized by Copilot, Claude Code, and Codex
  • .agents/docs/extension_guide.md — rules for extending agent context (folder layout, hierarchy, how to add skills/instructions/reference docs, feature repo checklist)
  • .github/docs/score_github_api.md — GitHub API reference and reusable GraphQL snippets for discussion management

Design decisions

  • .agents/ is the cross-tool portable layer; .github/ is Copilot-specific
  • AGENTS.md points to sources, never duplicates content
  • Feature repos provide their own AGENTS.md referencing this one; see extension guide for the checklist

- AGENTS.md: org-wide entry point (cross-tool: Copilot, Claude Code, Codex)
- .agents/docs/extension_guide.md: rules for extending agent context across repos
- .github/docs/score_github_api.md: GitHub API reference and GraphQL snippets
@github-actions

Copy link
Copy Markdown

The created documentation from the pull request is available at: docu-html

Comment thread AGENTS.md Outdated
Comment on lines +32 to +33
Generic skills shared across all feature repos live in `.agents/skills/`.
Feature-repo-specific skills live in the respective repo's `.agents/skills/`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we dont have feature repos 😆
You probably mean module repos.

Comment thread .github/docs/score_github_api.md Outdated
Comment on lines +15 to +21
## Prerequisites

- [GitHub CLI (`gh`)](https://cli.github.com/) installed and authenticated:
```bash
gh auth login --hostname github.com
# Token needs write:discussion scope for mutations
```

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redundant in my experience. LLMs assume a pre-authenticated gh cli.

Comment thread .github/docs/score_github_api.md Outdated
# Token needs write:discussion scope for mutations
```

## Useful GraphQL Snippets

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redundant in my experience. LLMs know all these commands. May depend on used LLM.

Comment thread .agents/docs/extension_guide.md Outdated
4. **Personal extensions belong in `~/.agents/`** — never commit personal workflows or
knowledge-base skills to a repo.

## Folder Layout & Tool Support

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems good for humans, but redundant to LLMs?!

Comment thread .agents/docs/extension_guide.md Outdated
|-------|----------|-------------|-------------|
| Repo overview, key facts | `AGENTS.md` (root) | ✅ always | ✅ |
| Generic shared skills | `score/.agents/skills/<name>/` | on-demand | ✅ |
| Feature-specific skills | `<feature>/.agents/skills/<name>/` | on-demand | ✅ |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does that actually work? Loading a skill from a different location.

Comment thread .agents/docs/extension_guide.md Outdated

## Hierarchy Between Repos

When multiple repos are open in the same workspace (e.g. `score` + `persistency`):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That seems very IDE specific, as normally there are no "workspaces".

Comment thread .agents/docs/extension_guide.md Outdated
Comment on lines +64 to +73
2. Create folder: `.agents/skills/<skill-name>/SKILL.md`
3. Required frontmatter:
```yaml
---
name: skill-name # must match folder name, lowercase-hyphenated
description: 'What it does. Use when: ... triggers ...'
---
```
4. Keep `SKILL.md` under 500 lines; put detail in `./references/` subfolder
5. Do not vendor a skill that already exists in `score/.agents/skills/`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove, redundant

umaucher added 2 commits June 11, 2026 14:29
- AGENTS.md: rename 'feature repos' to 'module repos'; add Conventions section with gh CLI rule
- extension_guide.md: remove folder ASCII tree, personal-workflow row, cross-repo skills row; drop redundant template descriptions; rename feature→module repos
- score_github_api.md: remove Prerequisites section; replace verbose snippets with single annotated query explaining the non-obvious repository() workaround for org discussions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog
Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants