mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
63b1168dbf
* feat: add support for agent subcategories with dynamic GitHub discovery - Support agent installation from subcategories (e.g., deep-research-team/academic-researcher) - Add dynamic GitHub API integration to discover available agents in real-time - Automatically organize agents by category folders - Preserve folder structure when installing categorized agents - Add comprehensive agent teams from merged PR #46: - Deep Research Team (9 specialized research agents) - FFmpeg Clip Team (6 media processing agents) - MCP Development Team (5 MCP server agents) - Obsidian Operations Team (5 knowledge management agents) - OCR Extraction Team (5 text processing agents) - Podcast Creator Team (9 content creation agents) - Plus individual specialized agents Technical improvements: - Remove hardcoded agent lists in favor of GitHub repository scanning - Support both 'agent-name' and 'category/agent-name' formats - Fallback mechanism when GitHub API is unavailable - Maintains backward compatibility with existing CLI usage - Real-time agent discovery without requiring CLI updates Usage examples: - cct --agent api-security-audit (existing agents) - cct --agent deep-research-team/academic-researcher (new categorized agents) - cct --agent help (shows all available agents dynamically) Co-authored-by: Cam10001110101 <cameron@cameronrohn.com> 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * feat: add support for new DeepGraph components and enhance filtering functionality --------- Co-authored-by: Claude <noreply@anthropic.com>
164 lines
4.5 KiB
TypeScript
164 lines
4.5 KiB
TypeScript
import {themes as prismThemes} from 'prism-react-renderer';
|
|
import type {Config} from '@docusaurus/types';
|
|
import type * as Preset from '@docusaurus/preset-classic';
|
|
|
|
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
|
|
|
|
const config: Config = {
|
|
title: 'Claude Code Templates',
|
|
tagline: 'Documentation for Claude Code Templates - AITMPL Platform',
|
|
favicon: 'img/favicon.ico',
|
|
|
|
// Future flags, see https://docusaurus.io/docs/api/docusaurus-config#future
|
|
future: {
|
|
v4: true, // Improve compatibility with the upcoming Docusaurus v4
|
|
},
|
|
|
|
// Set the production url of your site here
|
|
url: 'https://aitmpl.com',
|
|
// Set the /<baseUrl>/ pathname under which your site is served
|
|
// For custom domain deployment
|
|
baseUrl: '/',
|
|
|
|
// GitHub pages deployment config.
|
|
// If you aren't using GitHub pages, you don't need these.
|
|
organizationName: 'davila7', // Usually your GitHub org/user name.
|
|
projectName: 'claude-code-templates', // Usually your repo name.
|
|
|
|
onBrokenLinks: 'throw',
|
|
onBrokenMarkdownLinks: 'warn',
|
|
|
|
// GitHub Pages deployment configuration
|
|
trailingSlash: false,
|
|
|
|
// Add plugin to create .nojekyll file automatically
|
|
plugins: [
|
|
function createNojekyllPlugin() {
|
|
return {
|
|
name: 'create-nojekyll',
|
|
async postBuild({ outDir }) {
|
|
const fs = require('fs');
|
|
const path = require('path');
|
|
const nojekyllPath = path.join(outDir, '.nojekyll');
|
|
fs.writeFileSync(nojekyllPath, '');
|
|
console.log('✅ Created .nojekyll file for GitHub Pages');
|
|
},
|
|
};
|
|
},
|
|
],
|
|
|
|
// Even if you don't use internationalization, you can use this field to set
|
|
// useful metadata like html lang. For example, if your site is Chinese, you
|
|
// may want to replace "en" with "zh-Hans".
|
|
i18n: {
|
|
defaultLocale: 'en',
|
|
locales: ['en'],
|
|
},
|
|
|
|
presets: [
|
|
[
|
|
'classic',
|
|
{
|
|
docs: {
|
|
sidebarPath: './sidebars.ts',
|
|
// Please change this to your repo.
|
|
// Remove this to remove the "edit this page" links.
|
|
editUrl:
|
|
'https://github.com/davila7/claude-code-templates/tree/main/docu/',
|
|
},
|
|
blog: false, // Disable blog functionality
|
|
theme: {
|
|
customCss: './src/css/custom.css',
|
|
},
|
|
} satisfies Preset.Options,
|
|
],
|
|
],
|
|
|
|
themeConfig: {
|
|
// Social card for sharing
|
|
image: 'img/logo.svg',
|
|
colorMode: {
|
|
defaultMode: 'dark',
|
|
disableSwitch: true,
|
|
respectPrefersColorScheme: false,
|
|
},
|
|
navbar: {
|
|
title: 'Claude Code Templates',
|
|
logo: {
|
|
alt: 'AITMPL Crystal Ball Logo',
|
|
src: 'img/logo.svg',
|
|
},
|
|
items: [
|
|
{
|
|
type: 'docSidebar',
|
|
sidebarId: 'tutorialSidebar',
|
|
position: 'left',
|
|
label: 'Documentation',
|
|
},
|
|
{
|
|
href: 'https://aitmpl.com/',
|
|
label: 'Browse Components',
|
|
position: 'left',
|
|
},
|
|
{
|
|
href: 'https://github.com/davila7/claude-code-templates',
|
|
label: 'GitHub',
|
|
position: 'right',
|
|
},
|
|
],
|
|
},
|
|
footer: {
|
|
style: 'dark',
|
|
links: [
|
|
{
|
|
title: 'Documentation',
|
|
items: [
|
|
{
|
|
label: 'Getting Started',
|
|
to: '/docs/intro',
|
|
},
|
|
|
|
],
|
|
},
|
|
{
|
|
title: 'Resources',
|
|
items: [
|
|
{
|
|
label: 'Browse Components',
|
|
href: 'https://aitmpl.com/',
|
|
},
|
|
{
|
|
label: 'GitHub Repository',
|
|
href: 'https://github.com/davila7/claude-code-templates',
|
|
},
|
|
{
|
|
label: 'Issues & Support',
|
|
href: 'https://github.com/davila7/claude-code-templates/issues',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'Community',
|
|
items: [
|
|
{
|
|
label: 'Contribute',
|
|
href: 'https://github.com/davila7/claude-code-templates/blob/main/CONTRIBUTING.md',
|
|
},
|
|
{
|
|
label: 'License',
|
|
href: 'https://github.com/davila7/claude-code-templates/blob/main/LICENSE',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
copyright: `Copyright © ${new Date().getFullYear()} Claude Code Templates. Built with Docusaurus.`,
|
|
},
|
|
prism: {
|
|
theme: prismThemes.github,
|
|
darkTheme: prismThemes.dracula,
|
|
},
|
|
} satisfies Preset.ThemeConfig,
|
|
};
|
|
|
|
export default config;
|