Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThePrimeagen/skills
/ functions
Functions
81 in github.com/ThePrimeagen/skills
⨍
Functions
81
◇
Types & classes
10
↓ 12 callers
Function
assert_command_succeeds
(output: &Output)
prime-agent/tests/e2e.rs:41
↓ 10 callers
Function
assert_regular_directory
(path: &Path)
prime-agent/tests/e2e.rs:85
↓ 10 callers
Function
first_markdown_file
(skill_dir: &Path)
prime-agent/tests/e2e.rs:138
↓ 9 callers
Function
path_exists
(path: &Path)
prime-agent/src/main.rs:693
↓ 9 callers
Function
skills_dir
()
prime-agent/tests/e2e.rs:11
↓ 9 callers
Function
sorted_skill_names
(skills_root: &Path)
prime-agent/tests/e2e.rs:19
↓ 8 callers
Function
assert_regular_file
(path: &Path)
prime-agent/tests/e2e.rs:100
↓ 8 callers
Function
refresh_visible_indices
(state: &mut PickerState, skills: &[Skill])
prime-agent/src/main.rs:883
↓ 6 callers
Function
copy_directory
(source: &Path, destination: &Path)
prime-agent/tests/e2e.rs:115
↓ 5 callers
Function
remove_path
(path: &Path)
prime-agent/src/main.rs:1301
↓ 5 callers
Function
run_prime_agent
( project_dir: &Path, skills_root: &Path, args: [&str; ARG_COUNT], scripted_input: Option<&str
prime-agent/tests/e2e.rs:51
↓ 4 callers
Function
load_skills
(skills_dir: &Path)
prime-agent/src/main.rs:351
↓ 4 callers
Function
parse_target_dir_args
(remaining_arguments: Vec<OsString>)
prime-agent/src/main.rs:208
↓ 4 callers
Function
resolve_skills_dir
()
prime-agent/src/main.rs:322
↓ 4 callers
Function
resolve_target_dir
(explicit_target_dir: Option<PathBuf>)
prime-agent/src/main.rs:300
↓ 4 callers
Function
sync_skill_copy
( source: &Path, skill_name: &str, destination: &Path, target: CopyTarget, )
prime-agent/src/main.rs:1160
↓ 4 callers
Function
unique_full_name_query
(skills: &[String])
prime-agent/tests/e2e.rs:261
↓ 3 callers
Function
clear_menu
(stdout: &mut impl Write)
prime-agent/src/main.rs:1043
↓ 3 callers
Function
collect_skill_status_report
( skills: &[Skill], layout: &TargetLayout, )
prime-agent/src/main.rs:461
↓ 3 callers
Function
install_skill
( project_dir: &Path, skills_root: &Path, skill_name: &str, )
prime-agent/tests/e2e.rs:74
↓ 3 callers
Function
print_skill_status_report
(target_dir: &Path, report: &SkillStatusReport)
prime-agent/src/main.rs:517
↓ 3 callers
Function
target_layout
(target_dir: &Path)
prime-agent/src/main.rs:416
↓ 2 callers
Function
cursor_header_body_start
(contents: &str)
prime-agent/src/main.rs:1268
↓ 2 callers
Function
cursor_header_body_start
(content: &str)
prime-agent/tests/e2e.rs:175
↓ 2 callers
Function
detect_preselected
(skills: &[Skill], layout: &TargetLayout)
prime-agent/src/main.rs:449
↓ 2 callers
Function
ensure_cursor_header
(contents: &str, skill_name: &str)
prime-agent/src/main.rs:1260
↓ 2 callers
Function
ensure_target_layout
(target_dir: &Path)
prime-agent/src/main.rs:394
↓ 2 callers
Function
has_cursor_header
(content: &str)
prime-agent/tests/e2e.rs:200
↓ 2 callers
Function
move_cursor_down
(cursor: &mut usize, item_count: usize)
prime-agent/src/main.rs:970
↓ 2 callers
Function
move_cursor_up
(cursor: &mut usize, item_count: usize)
prime-agent/src/main.rs:957
↓ 2 callers
Function
os_string_to_utf8
(value: OsString, variable_name: &str)
prime-agent/src/main.rs:713
↓ 2 callers
Function
remove_cursor_header
(contents: &str)
prime-agent/src/main.rs:1252
↓ 2 callers
Function
target_copy_is_outdated
( source: &Path, skill_name: &str, destination: &Path, target: CopyTarget, )
prime-agent/src/main.rs:555
↓ 2 callers
Function
toggle_current_selection
( selection: &mut [bool], visible_indices: &[usize], cursor: usize, )
prime-agent/src/main.rs:984
↓ 2 callers
Function
trim_line
(line: &str)
prime-agent/src/main.rs:1286
↓ 2 callers
Function
trim_line
(line: &str)
prime-agent/tests/e2e.rs:193
↓ 1 callers
Function
apply_selection
( skills: &[Skill], selection: &[bool], layout: &TargetLayout, )
prime-agent/src/main.rs:1048
↓ 1 callers
Function
build_visible_indices
(skills: &[Skill], query: &str)
prime-agent/src/main.rs:897
↓ 1 callers
Function
clear_prime_agent_skills
(skills: &[Skill], layout: &TargetLayout)
prime-agent/src/main.rs:423
↓ 1 callers
Function
collect_markdown_files
( directory: &Path, output: &mut Vec<PathBuf>, )
prime-agent/tests/e2e.rs:149
↓ 1 callers
Function
copy_directory_recursive
( source: &Path, destination: &Path, skill_name: &str, target: &CopyTarget, )
prime-agent/src/main.rs:1170
↓ 1 callers
Function
copy_file_for_target
( source: &Path, destination: &Path, skill_name: &str, target: &CopyTarget, )
prime-agent/src/main.rs:1216
↓ 1 callers
Function
directory_contents_are_outdated
( source: &Path, destination: &Path, skill_name: &str, target: CopyTarget, )
prime-agent/src/main.rs:575
↓ 1 callers
Function
expected_file_bytes
(source: &Path, skill_name: &str, target: CopyTarget)
prime-agent/src/main.rs:678
↓ 1 callers
Function
file_contents_are_outdated
( source: &Path, destination: &Path, skill_name: &str, target: CopyTarget, )
prime-agent/src/main.rs:661
↓ 1 callers
Function
find_skill_with_cursor_header
(skills_root: &Path)
prime-agent/tests/e2e.rs:212
↓ 1 callers
Function
find_skill_without_cursor_header
(skills_root: &Path)
prime-agent/tests/e2e.rs:225
↓ 1 callers
Function
fuzzy_matches
(skill_name: &str, query: &str)
prime-agent/src/main.rs:909
↓ 1 callers
Function
fuzzy_matches
(skill_name: &str, query: &str)
prime-agent/tests/e2e.rs:238
↓ 1 callers
Function
is_ctrl_c
(key_event: &KeyEvent)
prime-agent/src/main.rs:932
↓ 1 callers
Function
parse_args
()
prime-agent/src/main.rs:137
↓ 1 callers
Function
print_help
()
prime-agent/src/main.rs:227
↓ 1 callers
Function
remove_path_if_exists
(path: &Path)
prime-agent/src/main.rs:1293
↓ 1 callers
Function
render_menu
(stdout: &mut impl Write, skills: &[Skill], state: &PickerState)
prime-agent/src/main.rs:1001
↓ 1 callers
Function
run
()
prime-agent/src/main.rs:101
↓ 1 callers
Function
run_clear
(explicit_target_dir: Option<PathBuf>)
prime-agent/src/main.rs:255
↓ 1 callers
Function
run_init
(template: &str)
prime-agent/src/main.rs:239
↓ 1 callers
Function
run_interactive_selection
( skills: &[Skill], initial_selection: Vec<bool>, )
prime-agent/src/main.rs:791
↓ 1 callers
Function
run_scripted_selection
( skills: &[Skill], initial_selection: Vec<bool>, script: &str, )
prime-agent/src/main.rs:719
↓ 1 callers
Function
run_status
(explicit_target_dir: Option<PathBuf>)
prime-agent/src/main.rs:270
↓ 1 callers
Function
run_sync
(explicit_target_dir: Option<PathBuf>)
prime-agent/src/main.rs:281
↓ 1 callers
Function
select_skills
(skills: &[Skill], preselected: Vec<bool>)
prime-agent/src/main.rs:697
↓ 1 callers
Function
send_interrupt_signal
()
prime-agent/src/main.rs:941
↓ 1 callers
Function
should_add_to_query
(key_event: &KeyEvent, character: char)
prime-agent/src/main.rs:869
↓ 1 callers
Function
strip_cursor_header
(content: &str)
prime-agent/tests/e2e.rs:204
↓ 1 callers
Function
sync_selected_skills
( skills: &[Skill], selection: &[bool], layout: &TargetLayout, )
prime-agent/src/main.rs:1118
Method
activate
()
prime-agent/src/main.rs:81
Function
agents_remove_cursor_header_cursor_keeps_header
()
prime-agent/tests/e2e.rs:419
Function
clear_removes_prime_agent_skills_only
()
prime-agent/tests/e2e.rs:529
Function
cursor_adds_header_when_source_is_missing_one
()
prime-agent/tests/e2e.rs:477
Function
cwd_mode_creates_layout_and_copies_selected_skill
()
prime-agent/tests/e2e.rs:333
Method
drop
(&mut self)
prime-agent/src/main.rs:89
Function
init_ts_writes_agents_markdown
()
prime-agent/tests/e2e.rs:584
Function
init_unsupported_template_fails
()
prime-agent/tests/e2e.rs:605
Function
link_mode_reports_outdated_without_overwriting
()
prime-agent/tests/e2e.rs:677
Function
main
()
prime-agent/src/main.rs:94
Function
path_exists
(path: &Path)
prime-agent/tests/e2e.rs:37
Function
status_reports_outdated_skills
()
prime-agent/tests/e2e.rs:631
Function
sync_updates_existing_skills
()
prime-agent/tests/e2e.rs:722
Function
target_dir_mode_updates_preselected_skills
()
prime-agent/tests/e2e.rs:277
Function
typing_query_filters_before_selection
()
prime-agent/tests/e2e.rs:376