ソース情報
- リポジトリ
- tomevault-io/tomes
- ソースの最終更新活動
- 2026年7月23日 21:48
- 検出された SKILL.md の言語
- 英語
- スター
- 1
- フォーク
- 0
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/tomevault-io/tomes --skill write-testコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
> Use when this capability is needed.
Use when writing kernel, account, or note MASM code that reads from or writes to the advice provider (advice stack / advice map) — validate advice data.
Use when writing a Rust test that exercises a failure path or a MASM test that expects a `panic` / `assert` — assert on the specific expected error variant or error code.
SOC 職業分類に基づく
SKILL.md を表示中
| name | write-test |
| description | > Use when this capability is needed. |
Use this skill when you add new tests or modify existing JETLS test code.
Test code for new language server features should be written in files that
define independent module spaces with a test_ prefix. Include those files
from test/runtests.jl.
This lets each test file run independently from the REPL.
For example, test/test_completions.jl should look like:
module test_completions
using Test
...
end # module test_completions
Then include it from test/runtests.jl like this:
@testset "JETLS.jl" begin
...
@testset "completions" include("test_completions.jl")
...
end
Use @testset "testset name" to organize tests cleanly.
For code clarity, avoid placing using, import, or struct definitions
inside @testset blocks unless it is specifically necessary.
Prefer top-level definitions.
Use let blocks to avoid unintentionally reusing names across test cases,
unless a helper function or do block already provides local scope.
Example:
module test_completions
using Test
using JETLS: some_completion_func
function testcase_util(s::AbstractString)
...
end
function with_testcase(s::AbstractString)
...
end
@testset "some_completion_func" begin
let s = "..."
ret = some_completion_func(testcase_util(s))
@test test_with(ret)
end
let s = "..."
ret = some_completion_func(testcase_util(s))
@test test_with(ret)
end
with_testcase(s) do case
ret = some_completion_func(case)
@test test_with(ret)
end
end
end # module test_completions
Testing language server functionality is challenging. To fully test such functionality, you need to start a server loop and send requests that mimic realistic user interactions.
For those tests, use withserver from
test/setup.jl.
Refer to test/test_full_lifecycle.jl
as an example.
A good pattern is test/test_definition.jl:
it keeps the full withserver coverage to one request/response sanity test
for the DidOpen → analysis → DefinitionRequest path, while most cases use
definition_test to call find_definition directly and assert on returned
locations. Prefer this split for LSP handlers.
When you add or modify tests, use the run-test
workflow to run the most specific relevant test command.
Source: aviatesk/JETLS.jl — distributed by TomeVault.