Agent Skillsnetalertx/NetAlertX › project-navigation

project-navigation

GitHub

提供NetAlertX项目的代码结构、关键文件路径及配置位置参考,辅助开发者快速定位前后端入口、插件系统、数据库及文档资源。

.gemini/skills/project-navigation/SKILL.md netalertx/NetAlertX

触发场景

探索代码库结构 查找特定组件路径 了解项目架构

安装

npx skills add netalertx/NetAlertX --skill project-navigation -g -y
更多选项

非标准路径

npx skills add https://github.com/netalertx/NetAlertX/tree/main/.gemini/skills/project-navigation -g -y

不安装直接使用

npx skills use netalertx/NetAlertX@project-navigation

指定 Agent (Claude Code)

npx skills add netalertx/NetAlertX --skill project-navigation -a claude-code -g -y

安装 repo 全部 skill

npx skills add netalertx/NetAlertX --all -g -y

预览 repo 内 skill

npx skills add netalertx/NetAlertX --list

SKILL.md

Frontmatter
{
    "name": "project-navigation",
    "description": "Reference for the NetAlertX codebase structure, key file paths, and configuration locations. Use this when exploring the codebase or looking for specific components like the backend entry point, frontend files, or database location."
}

Project Navigation

Key Paths

Component Path
Workspace root /workspaces/NetAlertX
Backend entry server/__main__.py
API server server/api_server/api_server_start.py
Plugin system server/plugin.py
Initialization server/initialise.py
Frontend front/
Frontend JS front/js/common.js
Frontend PHP front/php/server/*.php
Plugins server/plugins/
Plugin template server/plugins/__template
Database helpers server/db/db_helper.py
Device model server/models/device_instance.py
Messaging server/messaging/
Workflows server/workflows/

Architecture

NetAlertX uses a frontend–backend architecture: the frontend runs on PHP + Nginx (see front/), the backend is implemented in Python (see server/), and scheduled tasks are managed by a supercronic scheduler.

Runtime Paths

Data Path
Config (runtime) /data/config/app.conf
Config (default) back/app.conf
Database /data/db/app.db
API JSON cache /tmp/api/*.json
Logs /tmp/log/
Plugin logs /tmp/log/plugins/

Environment Variables

Use these instead of hardcoding paths:

  • NETALERTX_DB
  • NETALERTX_LOG
  • NETALERTX_CONFIG
  • NETALERTX_DATA
  • NETALERTX_APP

Documentation

Topic Path
Plugin development docs/PLUGINS_DEV.md
System settings docs/SETTINGS_SYSTEM.md
API docs docs/API_*.md
Debug guides docs/DEBUG_*.md

版本历史

  • 548d698 当前 2026-08-19 22:08
  • 8aec57b 2026-07-24 22:14

同 Skill 集合

.gemini/skills/devcontainer-management/SKILL.md
.gemini/skills/mcp-activation/SKILL.md
.gemini/skills/settings/SKILL.md
.gemini/skills/skills-index/SKILL.md
.gemini/skills/testing-workflow/SKILL.md
.github/skills/api-development/SKILL.md
.github/skills/authentication/SKILL.md
.github/skills/code-standards/SKILL.md
.github/skills/database-patterns/SKILL.md
.github/skills/database-reset/SKILL.md
.github/skills/devcontainer-configs/SKILL.md
.github/skills/devcontainer-services/SKILL.md
.github/skills/devcontainer-setup/SKILL.md
.github/skills/docker-build/SKILL.md
.github/skills/docker-prune/SKILL.md
.github/skills/mcp-activation/SKILL.md
.github/skills/plugin-run-development/SKILL.md
.github/skills/project-navigation/SKILL.md
.github/skills/sample-data/SKILL.md
.github/skills/settings-management/SKILL.md
.github/skills/skills-overview/SKILL.md
.github/skills/testing-workflow/SKILL.md

元信息

文件数
0
版本
548d698
Hash
f9a9f026
收录时间
2026-07-24 22:14

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 17:10
浙ICP备14020137号-1 $访客地图$