Skip to content

Commit e87a3e8

Browse files
authored
Merge pull request #70 from linkml/claude/cool-gates-ow9b2g
Add cell-free expression value sets for synthetic biology
2 parents 1c1fc2b + d9006e5 commit e87a3e8

7 files changed

Lines changed: 489 additions & 73 deletions

File tree

.github/workflows/claude-code-review.yml

Lines changed: 14 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -27,52 +27,35 @@ jobs:
2727

2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v6
3131
with:
3232
fetch-depth: 1
3333

3434
- name: Run Claude Code Review
3535
id: claude-review
36-
uses: anthropics/claude-code-action@beta
36+
uses: anthropics/claude-code-action@v1
3737
with:
3838
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
3939

40-
# Optional: Specify model (defaults to Claude Sonnet 4, uncomment for Claude Opus 4.1)
41-
# model: "claude-opus-4-1-20250805"
40+
# In v1, providing a `prompt` runs in automation mode, which does NOT
41+
# post a comment by default. track_progress restores the v0.x
42+
# "post the review as a PR comment" behavior and auto-injects PR context.
43+
track_progress: true
4244

43-
# Direct prompt for automated review (no @claude mention needed)
44-
direct_prompt: |
45+
# Prompt for the automated review (no @claude mention needed).
46+
prompt: |
4547
Please review this pull request and provide feedback on:
4648
- Code quality and best practices
4749
- Potential bugs or issues
4850
- Performance considerations
4951
- Security concerns
5052
- Test coverage
51-
53+
5254
Be constructive and helpful in your feedback.
5355
54-
# Optional: Use sticky comments to make Claude reuse the same comment on subsequent pushes to the same PR
55-
# use_sticky_comment: true
56-
57-
# Optional: Customize review based on file types
58-
# direct_prompt: |
59-
# Review this PR focusing on:
60-
# - For TypeScript files: Type safety and proper interface usage
61-
# - For API endpoints: Security, input validation, and error handling
62-
# - For React components: Performance, accessibility, and best practices
63-
# - For tests: Coverage, edge cases, and test quality
64-
65-
# Optional: Different prompts for different authors
66-
# direct_prompt: |
67-
# ${{ github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR' &&
68-
# 'Welcome! Please review this PR from a first-time contributor. Be encouraging and provide detailed explanations for any suggestions.' ||
69-
# 'Please provide a thorough code review focusing on our coding standards and best practices.' }}
70-
71-
# Optional: Add specific tools for running tests or linting
72-
# allowed_tools: "Bash(npm run test),Bash(npm run lint),Bash(npm run typecheck)"
73-
74-
# Optional: Skip review for certain conditions
75-
# if: |
76-
# !contains(github.event.pull_request.title, '[skip-review]') &&
77-
# !contains(github.event.pull_request.title, '[WIP]')
56+
# Args passed through to the Claude CLI. Use the `opus` alias rather
57+
# than a dated model id so the workflow tracks the current Opus and
58+
# won't 404 when a specific version is retired.
59+
claude_args: |
60+
--model opus
7861

.github/workflows/claude.yml

Lines changed: 14 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -31,65 +31,37 @@ jobs:
3131
actions: read # Required for Claude to read CI results on PRs
3232
steps:
3333
- name: Checkout repository
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v6
3535
with:
3636
fetch-depth: 1
3737

3838
- name: Install uv
3939
uses: astral-sh/setup-uv@v7
40-
40+
4141
- name: Install python tools
4242
run: |
4343
uv sync
4444
4545
- name: Run Claude Code
4646
id: claude
47-
uses: anthropics/claude-code-action@beta
48-
47+
uses: anthropics/claude-code-action@v1
48+
4949
with:
5050
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
51-
mcp_config: |
52-
{
53-
"mcpServers": {
54-
"ols": {
55-
"command": "uvx",
56-
"args": [
57-
"ols-mcp"
58-
]
59-
},
60-
"sequential-thinking": {
61-
"command": "npx",
62-
"args": [
63-
"-y",
64-
"@modelcontextprotocol/server-sequential-thinking"
65-
]
66-
}
67-
}
68-
}
6951

7052
# This is an optional setting that allows Claude to read CI results on PRs
7153
additional_permissions: |
7254
actions: read
73-
74-
# Optional: Specify model (defaults to Claude Sonnet 4, uncomment for Claude Opus 4.1)
75-
# model: "claude-opus-4-1-20250805"
76-
55+
56+
# In v1 the model, MCP servers, and allowed tools are passed through to
57+
# the Claude CLI via claude_args (the v0.x model / mcp_config /
58+
# allowed_tools inputs were removed). The `opus` alias tracks the
59+
# current Opus so this won't 404 when a dated model id is retired.
60+
claude_args: |
61+
--model opus
62+
--mcp-config '{"mcpServers":{"ols":{"command":"uvx","args":["ols-mcp"]},"sequential-thinking":{"command":"npx","args":["-y","@modelcontextprotocol/server-sequential-thinking"]}}}'
63+
--allowedTools "Bash(*),FileEdit,Edit,MultiEdit,WebSearch,WebFetch,mcp__ols_mcp__search_all_ontologies,mcp__ols_mcp__get_terms_from_ontology"
64+
7765
# Optional: Customize the trigger phrase (default: @claude)
7866
# trigger_phrase: "/claude"
79-
80-
# Optional: Trigger when specific user is assigned to an issue
81-
# assignee_trigger: "claude-bot"
82-
83-
# Optional: Allow Claude to run specific commands
84-
allowed_tools: "Bash(*),FileEdit,Edit,MultiEdit,WebSearch,WebFetch,mcp__ols_mcp__search_all_ontologies,mcp__ols_mcp__get_terms_from_ontology"
85-
86-
# Optional: Add custom instructions for Claude to customize its behavior for your project
87-
# custom_instructions: |
88-
# Follow our coding standards
89-
# Ensure all new code has tests
90-
# Use TypeScript for new files
91-
92-
# Optional: Custom environment variables for Claude
93-
# claude_env: |
94-
# NODE_ENV: test
9567

cache/chebi/terms.csv

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,3 +253,11 @@ CHEBI:33371,technetium-99,2026-02-14T13:12:45.429091
253253
CHEBI:33388,plutonium atom,2026-02-14T13:12:45.429768
254254
CHEBI:33389,americium atom,2026-02-14T13:12:45.430292
255255
CHEBI:52636,iodine-129 atom,2026-02-14T13:12:45.431463
256+
CHEBI:17287,N-phosphocreatine,2026-06-23T05:39:54.423305
257+
CHEBI:18021,phosphoenolpyruvate,2026-06-23T05:39:54.424513
258+
CHEBI:15350,acetyl dihydrogen phosphate,2026-06-23T05:39:54.425221
259+
CHEBI:17794,3-phospho-D-glyceric acid,2026-06-23T05:39:54.425989
260+
CHEBI:17634,D-glucose,2026-06-23T05:39:54.426683
261+
CHEBI:14314,D-glucose 6-phosphate,2026-06-23T05:39:54.427283
262+
CHEBI:17306,maltose,2026-06-23T05:39:54.427948
263+
CHEBI:15361,pyruvate,2026-06-23T05:39:54.428673

cache/ncit/terms.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,3 +428,4 @@ NCIT:C68769,Decontamination,2026-02-15T15:46:36.956886
428428
NCIT:C28239,Cobalt Co-60,2026-02-15T15:46:57.873654
429429
NCIT:C120576,Improvised Nuclear Device,2026-02-15T15:47:04.484150
430430
NCIT:C120580,Radiological Dispersal Device,2026-02-15T15:47:13.265115
431+
NCIT:C16350,Biosensors,2026-06-23T05:48:32.996687

cache/obi/terms.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,4 @@ OBI:0302736,comet assay,2026-02-22T14:59:17.858350
8181
OBI:0302886,centrifugation,2026-06-11T16:05:52.111915
8282
OBI:0000626,DNA sequencing assay,2026-06-11T16:09:55.501188
8383
OBI:0002107,bio-layer interferometry assay,2026-06-11T16:12:09.434877
84+
OBI:0000719,vaccine production,2026-06-23T05:48:33.992380

0 commit comments

Comments
 (0)