AI scores task complexity from 1-10 automatically🧠

オープン
#664 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
express, javascript, node.js, react

調査の方向性

Start with client/src/components/Task/TaskModal.jsx, the named entry point, and read how it handles task form state and actions. The issue proposes sending the title and description to Claude and displaying a score with a reason; verify how API calls and credentials are handled in this project before implementing. Done means users can request and view the result, with the request working safely and errors handled.

索引モデルが issue の本文から書いたものです。

説明

enhancement good first issue

🧠 AI scores task complexity from 1-10 automatically

File: client/src/components/Task/TaskModal.jsx

No way to know how hard a task is
before starting 💀 fr!!

Fix: call Claude API on title + description:
const [complexity, setComplexity] = useState(null)

const analyzeComplexity = async () => {
setAnalyzing(true)
const res = await fetch(
'https://api.anthropic.com/v1/messages', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
model: 'claude-sonnet-4-6',
max_tokens: 100,
messages: [{
role: 'user',
content: Rate complexity 1-10 for this dev task: "${form.title}". Description: "${form.description}". Reply ONLY with JSON: {"score": 7, "reason": "one line"}
}]
})
})
const data = await res.json()
const result = JSON.parse(data.content[0].text)
setComplexity(result)
setAnalyzing(false)
}

{complexity && (

= 7 ? 'text-red-400' : complexity.score >= 4 ? 'text-yellow-400' : 'text-green-400'}`}> {complexity.score}/10

{complexity.reason}

)}

<button onClick={analyzeComplexity}
disabled={!form.title || analyzing}
className="text-xs text-purple-400
hover:text-purple-300 transition">
{analyzing ? '⏳ Analyzing...' : '🧠 Score complexity'}

主要言語
JavaScript
スター
39
フォーク
105
平均マージ
2日 10時間
マージ済み PR(30日)
22

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

anoopcodehack/DevBoard のほかの issue

anoopcodehack/DevBoard の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。