aiagentskills-site-kit 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +32 -0
- data/lib/ai_agent_skills/site_kit.rb +29 -0
- metadata +46 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 51234296425e9fa5e6496b6db52ae015a11a9b5f27343c4ae2ec4c047f656714
|
|
4
|
+
data.tar.gz: d753b6cd5456708b7d0cface5f90ebbd964ae5a6fcdd7409267e0cf8edd5dca2
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: c54de3d5a5d50393a301d5e494714bd2d2af94e580ab205ddf1d124ffa04d2c83f340de1347fac0412b20823fad0e08a55e3bfc0ae4bca104d62e91f1007a559
|
|
7
|
+
data.tar.gz: 0d2f1293f39a733e9fedf8e78a2d3e2eaa7206b9af82ed3e6b2867b263b6e24851a9db9ba95feb1e3c48859f04eabe82527424482050945c97732bec130b79ed
|
data/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AI Agent Skills
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# AI Agent Skills Site Kit
|
|
2
|
+
|
|
3
|
+
Small metadata and URL helpers for [AI Agent Skills](https://aiagentskills.net), a curated directory for discovering Claude skills, Codex skills, and AI agent workflows.
|
|
4
|
+
|
|
5
|
+
## Useful links
|
|
6
|
+
|
|
7
|
+
- Website: <https://aiagentskills.net>
|
|
8
|
+
- [AI agent skills directory](https://aiagentskills.net/skills/): browse curated agent skills.
|
|
9
|
+
- [Claude and Codex skill search](https://aiagentskills.net/skills/?q=seo): build stable search URLs for skill discovery.
|
|
10
|
+
- [Submit an AI agent skill](https://aiagentskills.net/submit/): submit a useful public skill for review.
|
|
11
|
+
- [AI agent skills blog](https://aiagentskills.net/blog/): read guides and updates.
|
|
12
|
+
- [Agent workflow skills](https://aiagentskills.net/category/agent-workflows/): browse workflow and automation skills.
|
|
13
|
+
- [Code generation skills](https://aiagentskills.net/category/code-generation/): browse development-focused skills.
|
|
14
|
+
|
|
15
|
+
## What this package does
|
|
16
|
+
|
|
17
|
+
Each ecosystem package exposes tiny helpers for site metadata and stable URL construction. It is intentionally boring: no network calls, no hidden behavior, and no claim that this is an official SDK.
|
|
18
|
+
|
|
19
|
+
## Common API
|
|
20
|
+
|
|
21
|
+
- `homeUrl` / `home_url`: homepage URL.
|
|
22
|
+
- `skillsUrl` / `skills_url`: skills directory URL.
|
|
23
|
+
- `searchUrl(query)` / `search_url(query)`: skills search URL.
|
|
24
|
+
- `submitUrl` / `submit_url`: skill submission URL.
|
|
25
|
+
- `blogUrl` / `blog_url`: blog URL.
|
|
26
|
+
- `categoryUrl(slug)` / `category_url(slug)`: category URL.
|
|
27
|
+
- `skillUrl(slug)` / `skill_url(slug)`: individual skill URL.
|
|
28
|
+
- `metadata`: brand, homepage, description, canonical pages, and tags.
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
MIT.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
require "uri"
|
|
2
|
+
|
|
3
|
+
module AiAgentSkills
|
|
4
|
+
module SiteKit
|
|
5
|
+
BASE_URL = "https://aiagentskills.net"
|
|
6
|
+
|
|
7
|
+
module_function
|
|
8
|
+
|
|
9
|
+
def clean_slug(slug)
|
|
10
|
+
slug.to_s.strip.gsub(%r{\A/+|/+\z}, "")
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
def url_for(path = "")
|
|
14
|
+
clean = clean_slug(path)
|
|
15
|
+
clean.empty? ? BASE_URL : "#{BASE_URL}/#{clean}/"
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def home_url = BASE_URL
|
|
19
|
+
def skills_url = url_for("skills")
|
|
20
|
+
def submit_url = url_for("submit")
|
|
21
|
+
def blog_url = url_for("blog")
|
|
22
|
+
def category_url(slug) = url_for("category/#{clean_slug(slug)}")
|
|
23
|
+
def skill_url(slug) = url_for("skill/#{clean_slug(slug)}")
|
|
24
|
+
def search_url(query = "")
|
|
25
|
+
value = query.to_s.strip
|
|
26
|
+
value.empty? ? skills_url : "#{BASE_URL}/skills/?q=#{URI.encode_www_form_component(value)}"
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: aiagentskills-site-kit
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- AI Agent Skills
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies: []
|
|
12
|
+
description: Small metadata and URL helpers for AI Agent Skills, a curated Claude,
|
|
13
|
+
Codex, and AI agent skills directory.
|
|
14
|
+
email:
|
|
15
|
+
- hello@aiagentskills.net
|
|
16
|
+
executables: []
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- LICENSE
|
|
21
|
+
- README.md
|
|
22
|
+
- lib/ai_agent_skills/site_kit.rb
|
|
23
|
+
homepage: https://aiagentskills.net
|
|
24
|
+
licenses:
|
|
25
|
+
- MIT
|
|
26
|
+
metadata:
|
|
27
|
+
homepage_uri: https://aiagentskills.net
|
|
28
|
+
source_code_uri: https://github.com/bbwdadfg/aiagentskills-site-kit
|
|
29
|
+
rdoc_options: []
|
|
30
|
+
require_paths:
|
|
31
|
+
- lib
|
|
32
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
33
|
+
requirements:
|
|
34
|
+
- - ">="
|
|
35
|
+
- !ruby/object:Gem::Version
|
|
36
|
+
version: '0'
|
|
37
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
38
|
+
requirements:
|
|
39
|
+
- - ">="
|
|
40
|
+
- !ruby/object:Gem::Version
|
|
41
|
+
version: '0'
|
|
42
|
+
requirements: []
|
|
43
|
+
rubygems_version: 4.0.11
|
|
44
|
+
specification_version: 4
|
|
45
|
+
summary: Small URL helpers for AI Agent Skills.
|
|
46
|
+
test_files: []
|