Skip to content

Commit 1d777ca

Browse files
HumanBean17claude
andcommitted
chore: refresh agent-skills propose — skills/ at project root, delete docs/skills/
Rewrites the propose doc (revision 5) to use skills/ at project root instead of agent-skills/ + compile pipeline. All hosts read from skills/ directly. No compile step. - Move propose to propose/active/ per new folder structure - Delete docs/skills/ (java-codebase-explore.md, .zip) and scripts/build-explore-skill.sh - Add hints_structured awareness (principle #10, decision #17) - Collapse 5-PR → 4-PR migration (no compile step PR) - Update README, AGENTS.md, test.yml, tests/README, automation README Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent d65fb1b commit 1d777ca

9 files changed

Lines changed: 502 additions & 318 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- 'docs/**'
2424
- 'propose/**'
2525
- 'plans/**'
26-
- 'reports/**'
26+
- 'skills/**'
2727
- '.agents/**'
2828
- 'AGENTS.md'
2929
- 'README.md'

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ when needed.
4242
- `docs/CODEBASE_REQUIREMENTS.md` — Java-repo assumptions and per-file map of
4343
what to edit when a target tree doesn't match defaults.
4444
- `tests/README.md` — testing philosophy.
45+
- **`skills/`** — user-facing skills shipped to java-codebase-rag consumers (navigation, workflow). Developer workflow skills live in **`.agents/skills/`**, not here.
4546
- **`propose/`** — design proposes. **In-flight** proposes live in
4647
**`propose/active/`**. **`propose/completed/`** — landed work and rationale.
4748
**List or search this tree** for current filenames; do not rely on enumerated

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ See [`mcp.json.example`](./mcp.json.example) for the same shape in `.mcp.json` (
9898
### Driving the MCP from an agent
9999

100100
- **[`docs/AGENT-GUIDE.md`](./docs/AGENT-GUIDE.md)** — standalone MCP operating manual (copy-paste into `QWEN.md` / `CLAUDE.md` / `AGENTS.md`): five tools, `NodeFilter`, edge taxonomy, required `neighbors` arguments, ontology glossary, recovery playbook, slash-style aliases.
101-
- **[`docs/skills/java-codebase-explore.md`](./docs/skills/java-codebase-explore.md)** — exploration **strategy** (missions, fallbacks, anti-capabilities, stopping rules); `AGENT-GUIDE.md` remains the **operating manual** for tool shapes and recovery.
101+
- **[`skills/`](./skills/)** — user-facing navigation and workflow skills for java-codebase-rag consumers. Skills are `SKILL.md` files; agents discover them via slash-names (`/callees`, `/routes`, etc.). See [`propose/active/AGENT-SKILLS-AND-COMMANDS-PROPOSE.md`](./propose/active/AGENT-SKILLS-AND-COMMANDS-PROPOSE.md) for the full Tier 1 + Tier 2 skill set.
102102
- **[`docs/MANUAL-VERIFICATION-CHECKLIST.md`](./docs/MANUAL-VERIFICATION-CHECKLIST.md)** — 7-phase agent-driven verification you run after indexing your real project.
103103

104104
---
@@ -156,7 +156,7 @@ Run `java-codebase-rag --help` to list grouped subcommands. Operator playbook wi
156156
| [`docs/CONFIGURATION.md`](./docs/CONFIGURATION.md) | Environment variables, project YAML, graph ontology, brownfield overrides, ignore patterns. |
157157
| [`docs/JAVA-CODEBASE-RAG-CLI.md`](./docs/JAVA-CODEBASE-RAG-CLI.md) | CLI operator playbook: workflows, exit codes, env alignment. |
158158
| [`docs/EDGE-NAVIGATION.md`](./docs/EDGE-NAVIGATION.md) | MCP-traversable edges, directions, dot-key composition. |
159-
| [`docs/skills/java-codebase-explore.md`](./docs/skills/java-codebase-explore.md) | Agent exploration skill (strategy, missions, fallbacks); packaged zip [`docs/skills/java-codebase-explore.zip`](./docs/skills/java-codebase-explore.zip) for Perplexity-style hosts. |
159+
| [`skills/`](./skills/) | User-facing skills for java-codebase-rag consumers. Navigation and workflow skills (Tier 1 + Tier 2) planned — see [`propose/active/AGENT-SKILLS-AND-COMMANDS-PROPOSE.md`](./propose/active/AGENT-SKILLS-AND-COMMANDS-PROPOSE.md). |
160160
| [`docs/MANUAL-VERIFICATION-CHECKLIST.md`](./docs/MANUAL-VERIFICATION-CHECKLIST.md) | 7-phase agent-driven verification after indexing your project. |
161161
| [`docs/CODEBASE_REQUIREMENTS.md`](./docs/CODEBASE_REQUIREMENTS.md) | Assumptions about your Java repo + per-file edit map for non-conforming codebases. |
162162
| [`automation/cursor_propose_only/README.md`](./automation/cursor_propose_only/README.md) | Optional proposal orchestration workflow (single-command autopilot, planning bundles, automated execution/review loops). |

automation/cursor_propose_only/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ If you only want a subset, pass `--proposal` multiple times:
2121
.venv/bin/python automation/cursor_propose_only/cli.py prepare \
2222
--repo-root . \
2323
--proposal-dir propose \
24-
--output-dir reports/propose_automation_selected \
24+
--output-dir .agents/reports/propose_automation_selected \
2525
--proposal HTTP-ROUTE-METHOD-ENUM-PROPOSE.md \
2626
--proposal ENHANCED-ROLE-RECOGNITION-PROPOSE.md \
2727
--rounds 3 \
@@ -40,18 +40,18 @@ Notes:
4040
.venv/bin/python automation/cursor_propose_only/cli.py prepare \
4141
--repo-root . \
4242
--proposal-dir propose \
43-
--output-dir reports/propose_automation \
43+
--output-dir .agents/reports/propose_automation \
4444
--rounds 3 \
4545
--min-severity medium
4646
```
4747

4848
Generated artifacts:
4949

50-
- `reports/propose_automation/workflow.json`
51-
- `reports/propose_automation/jobs/<job-id>/planner_prompt.md`
52-
- `reports/propose_automation/jobs/<job-id>/reviewer_prompt_round1.md`
53-
- `reports/propose_automation/jobs/<job-id>/reviewer_prompt_round2.md`
54-
- `reports/propose_automation/jobs/<job-id>/reviewer_prompt_round3.md`
50+
- `.agents/reports/propose_automation/workflow.json`
51+
- `.agents/reports/propose_automation/jobs/<job-id>/planner_prompt.md`
52+
- `.agents/reports/propose_automation/jobs/<job-id>/reviewer_prompt_round1.md`
53+
- `.agents/reports/propose_automation/jobs/<job-id>/reviewer_prompt_round2.md`
54+
- `.agents/reports/propose_automation/jobs/<job-id>/reviewer_prompt_round3.md`
5555

5656
## Evaluate each reviewer response
5757

@@ -60,7 +60,7 @@ then evaluate it with severity gating.
6060

6161
```bash
6262
.venv/bin/python automation/cursor_propose_only/cli.py evaluate \
63-
--workflow reports/propose_automation/workflow.json \
63+
--workflow .agents/reports/propose_automation/workflow.json \
6464
--job-id <job-id> \
6565
--round 1 \
6666
--review-file /path/to/review_round1.md \
@@ -83,7 +83,7 @@ tasks as `ready_to_merge` / `merged`.
8383
```bash
8484
.venv/bin/python automation/cursor_propose_only/execute.py \
8585
--repo-root . \
86-
--workflow reports/propose_automation/workflow.json \
86+
--workflow .agents/reports/propose_automation/workflow.json \
8787
--rounds 3 \
8888
--min-severity medium \
8989
--implementation-command 'cursor-agent run --model auto --prompt-file {task_prompt_file}' \
@@ -97,7 +97,7 @@ Notes:
9797
- without `--run`, `execute.py` performs a dry-run and only stages prompts/state
9898
- command templates support placeholders such as `{task_prompt_file}`,
9999
`{review_prompt_file}`, `{pr_url}`, `{branch}`, `{base}`, `{round}`
100-
- workflow state is persisted in `reports/propose_automation/workflow.json`
100+
- workflow state is persisted in `.agents/reports/propose_automation/workflow.json`
101101

102102
## Fully automated (single command)
103103

@@ -108,7 +108,7 @@ use `autopilot.py`.
108108
.venv/bin/python automation/cursor_propose_only/autopilot.py \
109109
--repo-root . \
110110
--proposal-dir propose \
111-
--output-dir reports/propose_automation_selected \
111+
--output-dir .agents/reports/propose_automation_selected \
112112
--proposal TIER2-INCREMENTAL-REBUILD-PROPOSE.md \
113113
--planning-rounds 2 \
114114
--planning-min-severity medium \

0 commit comments

Comments
 (0)