project-scaffold
यह क्या करती है
यह स्किल Vite और TypeScript से एक शुरुआती वेब प्रोजेक्ट सेट करती है। इसमें कंपोनेंट, सर्विस, यूटिलिटी और स्टाइल के लिए फ़ोल्डर और कॉन्फ़िग फ़ाइलें शामिल हैं। यह नया डैशबोर्ड या वेब ऐप शुरू करने वाले डेवलपर्स के लिए है।
कब इस्तेमाल करें
- ✓जब आप नया TypeScript वेब प्रोजेक्ट शुरू कर रहे हैं और साफ़ फ़ोल्डर ढांचा चाहते हैं।
- ✓जब आपको Vite प्रोजेक्ट के लिए पैकेज और TypeScript कॉन्फ़िग फ़ाइलें चाहिए।
- ✓जब आप कोड लिखने से पहले कंपोनेंट, सर्विस और स्टाइल के लिए तैयार ढांचा चाहते हैं।
Skill का लिंक
https://github.com/HKUDS/AgentPilot/blob/main/openspace/legacy/v1/showcase/skills/project-scaffold/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप कंपोनेंट, सर्विस और स्टाइल के फ़ोल्डरों के साथ नया Vite और TypeScript प्रोजेक्ट सेट कर सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल फ़ोल्डर संरचना और बनाई जाने वाली कॉन्फ़िग फ़ाइलें दिखाती है। यह उन टूल की सूची भी देती है जिनकी प्रोजेक्ट को ज़रूरत है, ताकि शुरुआती ढांचा आगे बनाने के लिए तैयार रहे।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Project Scaffold
Set up a new Vite + TypeScript project for a personal daily monitoring dashboard.
Directory Structure
my-daily-monitor/
├── index.html
├── package.json
├── tsconfig.json
├── vite.config.ts
├── api/ # Serverless API proxy endpoints (Vercel)
│ └── stocks.ts
├── src/
│ ├── main.ts # Entry point
│ ├── components/ # Panel components
│ │ ├── Panel.ts # Base panel class
│ │ ├── StockPanel.ts
│ │ ├── NewsPanel.ts
│ │ └── index.ts
│ ├── services/ # Data fetching services
│ │ ├── stock-market.ts
│ │ ├── news.ts
│ │ └── index.ts
│ ├── utils/ # Utilities
│ │ ├── circuit-breaker.ts
│ │ ├── sparkline.ts
│ │ ├── format.ts
│ │ └── index.ts
│ ├── config/ # Panel config, API endpoints
│ │ └── panels.ts
│ └── styles/
│ └── main.css
└── skills/ # OpenSpace skill files
package.json
{
"name": "my-daily-monitor",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
},
"devDependencies": {
"typescript": "^5.7.2",
"vite": "^6.0.7"
}
}
tsconfig.json
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
"jsx": "preserve",
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
"noEmit": true,
"paths": {
"@/*": ["./src/*"]
},
"baseUrl": "."
},
"include": ["src"]
}
vite.config.ts
import { defineConfig } from 'vite';
import { resolve } from 'path';
export default defineConfig({
resolve: {
alias: {
'@': resolve(__dirname, 'src'),
},
},
server: {
port: 5173,
},
});
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My Daily Monitor</title>
<link rel="stylesheet" href="/src/styles/main.css" />
</head>
<body>
<div id="app">
<header class="app-header">
<h1>My Daily Monitor</h1>
<span class="app-clock" id="headerClock"></span>
</header>
<main class="main-content">
<div class="panels-grid" id="panelsGrid"></div>
</main>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
src/main.ts (Entry Point)
import './styles/main.css';
// Import panels
import { StockPanel } from './components/StockPanel';
import { NewsPanel } from './components/NewsPanel';
// ... other panels
const grid = document.getElementById('panelsGrid')!;
// Instantiate and mount panels
const panels = [
new StockPanel(),
new NewsPanel(),
// ... more panels
];
for (const panel of panels) {
grid.appendChild(panel.getElement());
}
// Header clock
function updateClock(): void {
const el = document.getElementById('headerClock');
if (el) el.textContent = new Date().toLocaleTimeString();
}
updateClock();
setInterval(updateClock, 1000);
Key Conventions
- No framework — vanilla TypeScript with DOM API
- Each panel is a class in
src/components/ - Each service is a module in
src/services/ - CSS uses custom properties for theming
- Vite handles bundling, HMR, and path aliases
- API proxy endpoints go in
api/for serverless deployment - Panel config in
src/config/panels.tscontrols which panels are enabled
अक्सर पूछे जाने वाले सवाल
Vite क्या है?
Vite एक ऐसा टूल है जो विकास के दौरान वेब प्रोजेक्ट चलाता है और रिलीज़ के लिए उसे पैक करता है।
क्या मुझे फ़ोल्डर संरचना पहले से जाननी होगी?
नहीं। स्किल एक शुरुआती संरचना देती है, जिसे आप अपने प्रोजेक्ट के अनुसार बदल सकते हैं।
क्या इसमें डेटा अनुरोधों के लिए सर्वर शामिल है?
लेआउट में सर्वरलेस API एंडपॉइंट के लिए एक फ़ोल्डर है, इसलिए ज़रूरत हो तो प्रोजेक्ट उसे जोड़ सकता है।
जानकारी
लेखक का मूल विवरण
Scaffold a Vite + TypeScript personal dashboard project with the correct directory structure, dependencies, and configuration files.
repo: HKUDS/AgentPilot
लोकप्रियता
- GitHub स्टार
- 7.8k
- रैंकिंग में स्थान
- #13076
- लाइसेंस
- MIT
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
agentpilot
7.8kआपके एजेंट को AgentPilot से प्रोजेक्ट को चरण-दर-चरण सुधारने में मदद करती है, जिसमें बदलाव सुझाए, परखे और स्कोर किए जाते हैं।
openspace
7.8kआपके एजेंट को OpenSpace सेट करने में मदद करती है, जो एजेंट स्किल्स सहेजता और वापस लाता है, और MCP के ज़रिए आपके AI ऐप से जुड़ता है।
rsi-arena
7.8kआपके एजेंट को AIME और Terminal-Bench जैसे मानक AI बेंचमार्क टेस्ट सेट करने और चलाने में मदद करती है, ताकि सुधार के तरीकों की तुलना हो सके।
experiment-guide
7.8kआपके एजेंट को छोटे प्रयोग बनाने, उनके नतीजे पढ़ने और जाँच के दौरान उपयोगी निष्कर्ष लिखने में मदद करती है।
मिलती-जुलती skills
angular-developer
280kआपके एजेंट को Angular code बनाने और प्रोजेक्ट स्ट्रक्चर पर सलाह देने में मदद करता है। नए प्रोजेक्ट शुरू करने, code के हिस्से बनाने, या performance और accessibility सुधारने में उपयोगी है।
frontend-a11y
280kआपके एजेंट को web interfaces को सबके लिए accessible बनाने में मदद करता है। यह सुनिश्चित करता है कि websites और apps screen readers और keyboard navigation के साथ अच्छे से काम करें।
frontend-patterns
280kआपके एजेंट को React और Next.js में frontend development के modern patterns लागू करने में मदद करता है। यह performance optimize करता है, state manage करता है और best practices फॉलो करवाता है।